Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devise password reset via 'recoverable' bypasses google auth #55

Open
montulli opened this issue Aug 8, 2017 · 1 comment
Open

Devise password reset via 'recoverable' bypasses google auth #55

montulli opened this issue Aug 8, 2017 · 1 comment

Comments

@montulli
Copy link

montulli commented Aug 8, 2017

The default devise password reset process using the devise plugin 'recoverable' seems to skip the GAuth process. After resetting a password with an email request the user is logged in and does not get redirected to the GAuth step.

@montulli montulli changed the title Devise password reset bypasses google auth Devise password reset via 'recoverable' bypasses google auth Aug 8, 2017
@montulli
Copy link
Author

montulli commented Aug 8, 2017

Workaround: If you disable the option to login automatically after a password reset the problem can be solved.

In devise.rb add:
' # When set to false, does not sign a user in automatically after their password is'
' # reset. Defaults to true, so a user is signed in automatically after a reset.'
' config.sign_in_after_reset_password = false'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant