Paul
Paul

Reputation: 26650

Devise authentication - what is the standard behaviour of this gem?

Devise authentication - what is the default behaviour of this gem?

I mean:

Should the user be redirected to site's root after password reset confirmation has been sent so, that I even do not see confirmation message, or, if it happens, it means some problems in my application?

Upvotes: 0

Views: 103

Answers (2)

user1402147
user1402147

Reputation: 111

Do you have put in the settings for email delivery​​? if not so no email can be send

if you have do that after a forget PW request you get a email with a link so you can reset the PW and you get redirect to root

Upvotes: 0

Yuri  Barbashov
Yuri Barbashov

Reputation: 5437

by default it redirectes to new_session_path on successfull sent https://github.com/plataformatec/devise/blob/master/app/controllers/devise/passwords_controller.rb

Upvotes: 1

Related Questions