Skip to content

No example of configuration options? #1

@AndrewRayCode

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)

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