Skip to content

Bug: MULTIFACTOR["FACTORS"] appears to have no affect #116

@StevenMapes

Description

@StevenMapes

In the docs MULTIFACTOR["FACTORS"] is described as controlling what MFA settings can be used however this appears to have no affect as the add.html page has hard set elements for both FIDO2 and TOTP.

The Add class (views.py) is the view for this page and sets a context of "methods" which is read from the KeyTypes choices.

I'm not sure where that's used yet but my current proposal is that we read the settings from app_settings["FACTORS"] and then simple test within the template that the factor is enabled before rendering the block

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions