Skip to content

No example of configuration options? #1

Description

@AndrewRayCode

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)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions