mardi 12 février 2019

Devise - don't want to open reset password page in case of token is invalid

I'm using devise gem.

I don't want to open the Reset password page (received at my email) if the Devise forget_password_token is not valid or already used.

Right now by default, it asks me to add a new password and password confirmation then when I submit, it say's "token has been expired"

I just want to add a concept of expire device reset password link sent at the email.

Please help!

Thanks

Aucun commentaire:

Enregistrer un commentaire