> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/user-management/two-factor-auth.md).

# Require two-factor auth in Duaer

How to enable 2FA for your Duaer account.
## Enable it for your account

1. Open two-factor authentication in account settings.
2. Pair an authenticator app with the QR code.
3. At the next sign-in, enter the one-time code after your password.

## Require it for the instance

An admin can require two-factor authentication for every member. After that, anyone who has not paired a device is stopped at the next sign-in until they finish pairing.

This does not conflict with LDAP or SAML. After the directory or single sign-on succeeds, Duaer can still ask for the one-time code.
## Questions

### Is two-factor auth per account or for the instance in Duaer?

Both: each person can pair an authenticator in account settings, and an admin can require it for every member. After the instance requires it, anyone without a device pairs at the next sign-in.

