You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My password was changed successfully
After changing password successfully, I can not log in with a new password, and can't log in with the old password also.
i also try resetPwdShort method. POSThttp://localhost:3030/authmanagement
{
"action":"resetPwdShort",
"value": {
"user": identifyUser, // identify user, e.g. {email: '[email protected]'}. See options.identifyUserProps.,
"token": "token",
"password":"my new password"
}
}
it's give me an following error:
{
"name": "BadRequest",
"message": "Invalid token. Get for a new one. (authManagement)",
"code": 400,
"className": "bad-request",
"data": {},
"errors": {
"$className": "badParam"
}
}
please, any one help me.
The text was updated successfully, but these errors were encountered:
Do you have a hashPassword hook defined for on the user service? The package hashes the password itself, so if you also have a hashpassword hook that password is being hashed twice.
The hashPassword hook should only execute for other calls. There are 2 articles on Medium showing how to do this.
Expected behavior
When I call the
resetPwdLong
API withtoken
in my postman with following detail.POST
http://localhost:3030/authmanagement
My password was changed successfully
After changing password successfully, I can not log in with a new password, and can't log in with the old password also.
i also try
resetPwdShort
method.POST
http://localhost:3030/authmanagement
it's give me an following error:
please, any one help me.
The text was updated successfully, but these errors were encountered: