Skip to content

Commit 70d6e87

Browse files
Document ability to disable 2FA via .env variable (#1861)
1 parent bcb2038 commit 70d6e87

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

content/collections/pages/users.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,12 @@ To enable 2FA, head to your **Profile** in the Control Panel. Scan the QR code w
276276
],
277277
```
278278

279+
You may also disable 2FA altogether by setting `STATAMIC_TWO_FACTOR_ENABLED=false` in your `.env` file.
280+
279281
:::warning
280282
Statamic uses your `APP_KEY` to encrypt the two-factor authentication secret and recovery codes.
281283

282-
You may run into issues with two-factor authentication if you have different `APP_KEY` values between environments *and* they share the same users (eg. you're tracking users in Git).
284+
You may run into issues with two-factor authentication if you have different `APP_KEY` values between environments *and* they share the same users (eg. you're tracking users in Git). You may want to disable 2FA locally in this case.
283285
:::
284286

285287
## Passkeys

0 commit comments

Comments
 (0)