Skip to content

feat(admin): add users.find and users.reset_totp Mix tasks - #174

Open
NTBBloodbath wants to merge 1 commit into
push-ktwkkxrwpltxfrom
push-lwrmuroqltsx
Open

NTBBloodbath wants to merge 1 commit into
push-ktwkkxrwpltxfrom
push-lwrmuroqltsx

Conversation

@NTBBloodbath

Copy link
Copy Markdown
Member

Add users.find for looking up an account by ID, email, or username and showing its suspension, admin, and TOTP state from the CLI.

Add users.reset_totp as a break-glass path for users locked out after losing both their authenticator and backup codes: it clears the TOTP secret and backup codes, revokes all session tokens, disconnects live sockets, and records a user.totp_reset audit event attributed to the CLI. The audit catalog includes the new action so it renders and filters correctly.

Add users.find for looking up an account by ID, email, or username and
showing its suspension, admin, and TOTP state from the CLI.

Add users.reset_totp as a break-glass path for users locked out after
losing both their authenticator and backup codes: it clears the TOTP
secret and backup codes, revokes all session tokens, disconnects live
sockets, and records a user.totp_reset audit event attributed to the
CLI. The audit catalog includes the new action so it renders and filters
correctly.
@NTBBloodbath
NTBBloodbath added this pull request to stack #175 November 9, 2026 03:20
@NTBBloodbath NTBBloodbath added the Kind / Feature New functionality label Nov 9, 2026
@NTBBloodbath
NTBBloodbath requested a review from vhyrro as a code owner November 9, 2026 03:20
@NTBBloodbath NTBBloodbath added Kind / Testing Issue or pull request related to testing elixir Pull requests that update elixir code labels Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

elixir Pull requests that update elixir code Kind / Feature New functionality Kind / Testing Issue or pull request related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant