1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 21:07:17 +00:00

support two factor authentication

This commit is contained in:
Shuai Lin
2016-04-15 09:08:22 +08:00
parent 37f6648a12
commit 3d04bfea6d
9 changed files with 65 additions and 13 deletions

View File

@@ -533,6 +533,8 @@ ADD_REPLY_TO_HEADER = False
CLOUD_DEMO_USER = 'demo@seafile.com'
ENABLE_TWO_FACTOR_AUTH = False
#####################
# External settings #
#####################
@@ -631,4 +633,5 @@ CONSTANCE_CONFIG = {
'USER_PASSWORD_STRENGTH_LEVEL': (USER_PASSWORD_STRENGTH_LEVEL,''),
'SHARE_LINK_PASSWORD_MIN_LENGTH': (SHARE_LINK_PASSWORD_MIN_LENGTH,''),
'ENABLE_TWO_FACTOR_AUTH': (ENABLE_TWO_FACTOR_AUTH,''),
}