Added config option to disable MFA globally

Added an option to disable MFA for all users and hide it from the login page and admin menu.
This commit is contained in:
KuJoe 2024-05-20 22:27:08 -04:00
commit 26d31f25da
5 changed files with 37 additions and 5 deletions

View file

@ -298,4 +298,7 @@ disablemfa = "Disable MFA"
enable_auto_save = "Enable Auto Save to Drafts"
explain_autosave = "When enabled, new posts or pages will automatically be saved as a draft every 60 seconds after you start writing."
login_protect_system = "Login protection system"
cloudflare_info = "Review Cloudflare's Turnstile documentation: "
cloudflare_info = "Review Cloudflare's Turnstile documentation: "
mfa_config = "Multi Factor Authentication (MFA)"
set_mfa_globally = "Set the status of MFA"
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."