mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
18 lines
631 B
Markdown
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.
|