This commit is contained in:
Michael Quigley 2023-05-23 14:30:24 -04:00
parent c889005ac1
commit cf9514a0e1
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -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 == "" {