> For the complete documentation index, see [llms.txt](https://help.tahua.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.tahua.io/product-news/2026/july/enforce-2fa-for-admins.md).

# Enforce two-factor authentication for admin users

## Problem

Organisations with stricter security requirements had no way to mandate that all admin users enable two-factor authentication. 2FA was available but entirely optional.

## How it works

A new setting — **Enforce two-factor authentication for admins** — is available in **Settings → Security**. When enabled:

* Any admin who does not have 2FA configured is redirected to the 2FA setup page immediately after login, before they can access any admin area page.
* Once 2FA is set up, they proceed normally.
* Admins cannot disable their own 2FA while this setting is active.
* SAML SSO users are exempt (their 2FA is governed by the separate `saml_sso_2fa_required` setting).

## UI changes

The Security settings page gains a new "Two-Factor Authentication" section beneath the existing password policy settings. The setting is toggled via a checkbox, consistent with the other security settings on the page.
