I have rails project with user's authorization with has_secure_password. So, password store in DB as encrypted password.
Now I want to add following: User will be able to change his current password to new password and this new password must be encrypted in DB too.
I can not find any information about it.
Is there way to do it with has_secure_password?
Aucun commentaire:
Enregistrer un commentaire