You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
993 B

  1. --- a/seahub/settings.py
  2. +++ b/seahub/settings.py
  3. @@ -47,7 +47,7 @@ SITE_ID = 1
  4. # If you set this to False, Django will make some optimizations so as not
  5. # to load the internationalization machinery.
  6. -USE_I18N = True
  7. +USE_I18N = False
  8. # If you set this to False, Django will not format dates, numbers and
  9. # calendars according to the current locale.
  10. @@ -310,7 +310,7 @@ SHARE_LINK_EMAIL_LANGUAGE = ''
  11. ENABLE_UPLOAD_LINK_VIRUS_CHECK = False
  12. # mininum length for user's password
  13. -USER_PASSWORD_MIN_LENGTH = 6
  14. +USER_PASSWORD_MIN_LENGTH = 8
  15. # LEVEL based on four types of input:
  16. # num, upper letter, lower letter, other symbols
  17. @@ -319,7 +319,7 @@ USER_PASSWORD_STRENGTH_LEVEL = 3
  18. # default False, only check USER_PASSWORD_MIN_LENGTH
  19. # when True, check password strength level, STRONG(or above) is allowed
  20. -USER_STRONG_PASSWORD_REQUIRED = False
  21. +USER_STRONG_PASSWORD_REQUIRED = True
  22. # Force user to change password when admin add/reset a user.
  23. FORCE_PASSWORD_CHANGE = True