Skip to content

Enable Option #32

@ghost

Description

Maybe there should be an option in the accounts view where users can enable two factor IF they want to.

Basically I would function something like the authy gem. https://github.com/authy/authy-devise There are some views create, verify, disable and 2fa. Basically if the user wants to enable 2fa to their account, they go to the create view. There they can ask for a SMS or (google auth) QR code. Then they press a button: Send SMS or GA, which takes them to the next page, verify. There, they can input the SMS code or the GA code. That enables 2fa to the account. The next time the person logs in, they are forwarded to the 2fa view, where they are able to put a GA code or ask for a SMS. Then finally, if they go to disable, they can ask for a SMS or put in a GA code to disable 2fa for the account.

The names of views should be changeable.

This would be a REALLY great addition to the plugin!

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