In Devise, if I change user\'s password and after it gets updated in the db, the site immediately logs out the user. I don\'t want this behavior - how do i do that. please h
Add the following piece of code to your method in which you are updating the user's password, right after updating the user's password in the database: