Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

No example of configuration options? #1

Copy link
Copy link
@AndrewRayCode

Description

@AndrewRayCode
Issue body actions

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)
Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.