[odrs-web] trivial: Relax password requirements



commit 99d0ddbc24ea4f190db3c67a534b1e362f792604
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]