Path: redb-identity/src/redb.Identity.Web/Components/Pages/Admin/UserDetailTabs/UserAccountTab.razor Snapshot: redb-identity, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity Page: https://redbase.app/src/dev-2026-12-06/redb-identity/src/redb.Identity.Web/Components/Pages/Admin/UserDetailTabs/UserAccountTab.razor ---- @inject IIdentityClient Client @inject ToastService Toast @inject UndoToastService UndoToast @* User > Account tab — admin-only flags + lifecycle actions. Sections: 1. Status & verification — account status (active/disabled/locked) + email_verified + phone_number_verified flags. Save reuses UpdateUserAsync (single PATCH body). 2. Password — admin override; sends the user a temporary or self-chosen password via ChangeUserPasswordAsync. 3. Danger zone — hard delete with typed-confirm. Soft-disable (status=disabled) uses the UndoToast pattern so an accidental flip can be reverted within 8 s without a server round-trip. *@ @if (_dirty) {
}blocked is a manual admin block that rejects every grant
type until cleared. pending is the state a freshly
registered user sits in until they complete the initial verification
flow (typically email).
Admin override — no OldPassword challenge (operator's
admin scope is the authorization). All existing sessions for this
user are revoked immediately on success; the user must sign in again
with the new password.
Permanently removes the user, revokes all their sessions, drops MFA factors and federation links, and clears their audit history pointers. This action cannot be undone.