mirror of
https://github.com/openziti/zrok.git
synced 2025-08-15 02:22:32 +02:00
update actions tab to include new way to surface password change
This commit is contained in:
@ -52,7 +52,7 @@ func (handler *changePasswordHandler) Handle(params account.ChangePasswordParams
|
||||
return account.NewChangePasswordUnprocessableEntity().WithPayload(rest_model_zrok.ErrorMessage(err.Error()))
|
||||
}
|
||||
|
||||
nhpwd, err := hashPassword(params.Body.NewPassword)
|
||||
nhpwd, err := HashPassword(params.Body.NewPassword)
|
||||
if err != nil {
|
||||
logrus.Errorf("error hashing password for '%v': %v", a.Email, err)
|
||||
return account.NewChangePasswordInternalServerError()
|
||||
|
Reference in New Issue
Block a user