Skip to content

Allow a command twofactorauth:state --all #30362

@solracsf

Description

@solracsf

This would be useful to export users (ideally in JSON) with their TFA status.
(as a dream, this info should be produced alongside with occ user:list --info ...)

# occ twofactorauth:state --all

"user1": {
    "totp": "true",
    "backup_codes": "true",
},
"user2": {
    "totp": "true",
    "backup_codes": "false",
},
...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions