Invite user and wrong credential
I have implemented an invitation workflow to send an invite to my customers and request them to insert a new password.
When the user accepts the invite, I have this function to update the password.
For some reason, after setting up a new password, the user can't log in. However, if the user recovers the password, they are able to log in. I suspect there is an issue with hashing the password when the user responds to an invite.
6 Replies
Solution
You double hashed the password
double hashed...
yep found just after made the post 🙂
thanks!!
@Soundmit don't forget to set Mark Solution
yes, in the same function
the password is updated
the email_verified_at not
how can i set mark solution?
Typo,
now()
not 'now()'
Right click on the message that provide the solution, from menu go to App, and from side menu click Mark Solution