mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
989d7192fa
For #2627 When allow_unconfirmed_access_for > 0, users may be already signed in at the time they confirm their account. Consequently, the default confirmation should be compatible with this possibility. Additionally, they should not be redirected to the sign in form after confirmation in this case. So I've changed ConfirmationsController#after_confirmation_path_for to send the user to the root path when signed in, or the sign in form otherwise. |
||
---|---|---|
.. | ||
locales |