{% if perms.core.killian_administration_view %}

Security

Global authentication and credential-reveal policy
2FA and Reveal Security Disabled (NOT RECOMMENDED)
{% if perms.core.killian_security_manage %}
{% csrf_token %}
Enforce 2FA for all users

When disabled, users may still enable 2FA individually from the 2FA link in their account area. Accounts that already have 2FA enabled will continue to require it.

Require 2FA when revealing credentials

When enabled, Killian requires a recent authenticator verification for every user before stored passwords or OTP values can be revealed. When global credential-reveal enforcement is disabled, Admin and Management accounts may control their own reveal-2FA preference. User-level and custom non-management roles cannot disable credential-reveal 2FA. Credential reveals are still written to the Audit Log.

{% if can_adjust_credential_reveal_window %}
hours

Administrator-only setting. Enter 1–12 hours. After this period, another authenticator verification is required before protected credentials or OTP values can be revealed or copied.

{% else %} {{ system_settings.credential_reveal_mfa_window_hours }} hour{{ system_settings.credential_reveal_mfa_window_hours|pluralize }}

Only Administrators can change this setting.

{% endif %}
{% else %}
2FA enforcement: {% if system_settings.enforce_mfa %}Enabled{% else %}Disabled{% endif %}
Credential reveal 2FA: {% if system_settings.require_mfa_for_credential_reveal %} Required {% else %} Not globally required {% endif %}
Credential reveal 2FA validity: {{ system_settings.credential_reveal_mfa_window_hours }} hour{{ system_settings.credential_reveal_mfa_window_hours|pluralize }}

Your role can view Administration but cannot change global security settings.

{% endif %}
{% endif %}