mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 14:50:55 +01:00
lint
This commit is contained in:
parent
c889005ac1
commit
cf9514a0e1
@ -21,7 +21,7 @@ func newInviteHandler(cfg *config.Config) *inviteHandler {
|
||||
|
||||
func (h *inviteHandler) Handle(params account.InviteParams) middleware.Responder {
|
||||
if h.cfg.Invites == nil || !h.cfg.Invites.InvitesOpen {
|
||||
logrus.Warn("not accepting invites; attempt from '%v'", params.Body.Email)
|
||||
logrus.Warnf("not accepting invites; attempt from '%v'", params.Body.Email)
|
||||
return account.NewInviteBadRequest()
|
||||
}
|
||||
if params.Body == nil || params.Body.Email == "" {
|
||||
|
Loading…
Reference in New Issue
Block a user