mirror of
https://github.com/openziti/zrok.git
synced 2024-12-23 07:09:12 +01:00
Merge branch 'v1_0_0' into dual_pathed
This commit is contained in:
commit
e429556d1d
@ -77,7 +77,7 @@ func (h *inviteHandler) Handle(params account.InviteParams) middleware.Responder
|
||||
if oldAr, err := str.FindAccountRequestWithEmail(params.Body.Email, tx); err == nil {
|
||||
logrus.Warnf("found previous account request for '%v', removing", params.Body.Email)
|
||||
if err := str.DeleteAccountRequest(oldAr.Id, tx); err != nil {
|
||||
logrus.Errorf("error deleteing previous account request for '%v': %v", params.Body.Email, err)
|
||||
logrus.Errorf("error deleting previous account request for '%v': %v", params.Body.Email, err)
|
||||
return account.NewInviteInternalServerError()
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user