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

Setting failed_attempts to 0 after sign in #1726

Merged
merged 3 commits into from Mar 19, 2012
Merged

Conversation

rodrigoflores
Copy link
Contributor

When signing in, sets failed_attempts to 0.

Solves #1720

@@ -1,3 +1,5 @@
require "devise/hooks/recoverable"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a lockable hook required by lockable. recoverable is just one of the ways to expose the failure. :)

@rodrigoflores
Copy link
Contributor Author

Fixed. Ready to mergE?

josevalim added a commit that referenced this pull request Mar 19, 2012
Setting failed_attempts to 0 after sign in
@josevalim josevalim merged commit e92ae37 into master Mar 19, 2012
@josevalim
Copy link
Contributor

Merged.

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

Successfully merging this pull request may close these issues.

None yet

2 participants