mirror of
https://github.com/openziti/zrok.git
synced 2024-11-07 08:44:14 +01:00
fix build error
This commit is contained in:
parent
f3ee9e2e26
commit
4bfcda5898
@ -39,7 +39,7 @@ func (handler *regenerateTokenHandler) Handle(params account.RegenerateTokenPara
|
||||
}
|
||||
if a.Disabled {
|
||||
logrus.Errorf("account '%v' for '%v' disabled", a.Email, a.Token)
|
||||
return account.NewResetTokenNotFound()
|
||||
return account.NewRegenerateTokenNotFound()
|
||||
}
|
||||
|
||||
// Need to create new token and invalidate all other resources
|
||||
|
Loading…
Reference in New Issue
Block a user