seafile-admin-docs/manual/administration/two_factor_authentication.md
2024-10-22 14:55:22 +08:00

18 lines
631 B
Markdown

# Two-Factor Authentication
Starting from version 6.0, we added Two-Factor Authentication to enhance account security.
There are two ways to enable this feature:
* System admin can tick the check-box at the "Password" section of the system settings page, or
* just add the following settings to `seahub_settings.py` and restart service.
```
ENABLE_TWO_FACTOR_AUTH = True
TWO_FACTOR_DEVICE_REMEMBER_DAYS = 30 # optional, default 90 days.
```
After that, there will be a "Two-Factor Authentication" section in the user profile page.
Users can use the Google Authenticator app on their smart-phone to scan the QR code.