MishkaCmsCoreWeb.Live.Admin.Components.RecoveryCodes (Mishka CMS Core v0.0.1)

Copy Markdown View Source

The signed-in account's recovery codes, a security card on the settings page's Preferences tab (SecurityCards): one-time codes for signing in when its authenticator app is lost. Made with a current code from the app (generate_recovery_codes), shown once and replaced by the next ones; otherwise the card says how many are left. An account without an authenticator is told to set one up first. See MishkaCmsCore.Accounts.SecondFactor.

<.live_component module={RecoveryCodes} id="recovery-codes" current_user={@current_user} />