ruby on rails 4 - Devise: Don't redirect on password reset if already logged in -


if user logged in , clicks on password reset link email, automatically redirected logged in area. want user able reset password, logged in or not. how prevent redirect?

what trying is, use devise recoverable module change logged in user password. not recoverable module built for.

as per carlosantoniodasilva, collaborator of devise

this feature recovering passwords, not signed in users change passwords. if want that, can use registerable module or handle yourself.

registerable module handles signing users through registration process, allowing them edit , destroy account.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -