[odrs-web/production] trivial: Relax password requirements



commit 26fcdbb3f1223d7dcd8275db18528b0d5637271c
Author: Richard Hughes <richard hughsie com>
Date:   Fri Jul 7 21:57:46 2017 +0100

    trivial: Relax password requirements

 app/views_admin.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/app/views_admin.py b/app/views_admin.py
index a42bc9f..88e967a 100644
--- a/app/views_admin.py
+++ b/app/views_admin.py
@@ -62,12 +62,6 @@ def _password_check(value):
     if len(value) < 8:
         success = False
         flash('The password is too short, the minimum is 8 characters', 'warning')
-    if len(value) > 40:
-        success = False
-        flash('The password is too long, the maximum is 40 characters', 'warning')
-    if value.lower() == value:
-        success = False
-        flash('The password requires at least one uppercase character', 'warning')
     if value.isalnum():
         success = False
         flash('The password requires at least one non-alphanumeric character', 'warning')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]