Skip to content

No example of configuration options? #1

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

Open
AndrewRayCode opened this issue Apr 11, 2017 · 0 comments
Open

No example of configuration options? #1

AndrewRayCode opened this issue Apr 11, 2017 · 0 comments

Comments

@AndrewRayCode
Copy link

The main gem https://github.com/Houdini/two_factor_authentication shows:

Set config values in config/initializers/devise.rb:

config.max_login_attempts = 3  # Maximum second factor attempts count.
...

However, this example doesn't use the config options. When I try to run any rails command, I get

config/initializers/devise.rb:287:in `block in <top (required)>': undefined method `max_login_attempts=' for Devise:Module (NoMethodError)
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