Browse Source

Simplified password check at registration

Everyone was complaining, everything was on fire!
Sebastian Lohff 2 years ago
parent
commit
b74da62c30
1 changed files with 9 additions and 6 deletions
  1. 9
    6
      cqtu/settings.py

+ 9
- 6
cqtu/settings.py View File

@@ -101,13 +101,16 @@ AUTH_PASSWORD_VALIDATORS = [
101 101
     },
102 102
     {
103 103
         'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
104
+        'OPTIONS': {
105
+            'min_length': 4,
106
+        },
104 107
     },
105
-    {
106
-        'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
107
-    },
108
-    {
109
-        'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
110
-    },
108
+    #{
109
+    #    'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
110
+    #},
111
+    #{
112
+    #    'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
113
+    #},
111 114
 ]
112 115
 
113 116
 

Loading…
Cancel
Save