pub fn render_admin_totp_line(
user: &AdminUser,
recovery_codes_remaining: i64,
palette: Palette,
) -> StringExpand description
admin user totp status, in words.
Says which of the three states the operator is in, since “enrolment pending” and “no factor” behave identically at the login prompt and only this line tells them apart – an operator who believes they enrolled and did not confirm has no other way to find out.