Browse Source
`admin_totp_status()` now checks the environment first and reports "config" instead of "enrolled", since a secret written to `config.json` by hand is indistinguishable from one enrolled via the admin page. This also fixes the case where the secret is set in both env and config: it is now correctly reported as not removable from the admin page, because the environment value stays effective.pull/7444/head
1 changed files with 12 additions and 5 deletions
Loading…
Reference in new issue