lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

010-default-config.patch (1211B)


      1 diff -rupN seahub-3.1.7-server.orig/seahub/settings.py seahub-3.1.7-server/seahub/settings.py
      2 --- seahub-3.1.7-server.orig/seahub/settings.py	2014-10-20 09:32:35.000000000 +0200
      3 +++ seahub-3.1.7-server/seahub/settings.py	2014-12-10 15:47:21.625104606 +0100
      4 @@ -46,7 +46,7 @@ SITE_ID = 1
      5  
      6  # If you set this to False, Django will make some optimizations so as not
      7  # to load the internationalization machinery.
      8 -USE_I18N = True
      9 +USE_I18N = False
     10  
     11  # If you set this to False, Django will not format dates, numbers and
     12  # calendars according to the current locale.
     13 @@ -209,7 +209,7 @@ SHOW_REPO_DOWNLOAD_BUTTON = False
     14  REPO_PASSWORD_MIN_LENGTH = 8
     15  
     16  # mininum length for user's password
     17 -USER_PASSWORD_MIN_LENGTH = 6
     18 +USER_PASSWORD_MIN_LENGTH = 8
     19  
     20  # LEVEL based on four types of input:
     21  # num, upper letter, lower letter, other symbols
     22 @@ -218,7 +218,7 @@ USER_PASSWORD_STRENGTH_LEVEL = 3
     23  
     24  # default False, only check USER_PASSWORD_MIN_LENGTH
     25  # when True, check password strength level, STRONG(or above) is allowed
     26 -USER_STRONG_PASSWORD_REQUIRED = False
     27 +USER_STRONG_PASSWORD_REQUIRED = True
     28  
     29  # Using server side crypto by default, otherwise, let user choose crypto method.
     30  FORCE_SERVER_CRYPTO = True