mirror of
https://github.com/openziti/zrok.git
synced 2024-11-23 00:23:48 +01:00
moved to warnf
This commit is contained in:
parent
8e0ae86214
commit
f9159e9d00
@ -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