|
|
@@ -259,7 +259,7 @@ def register():
|
|
|
else:
|
|
|
flash('Gender must be either M or F!', category='error')
|
|
|
|
|
|
- if len(passwd_1) =< 12 or len(passwd_2) =< 12:
|
|
|
+ if len(passwd_1) < 12 or len(passwd_2) < 12:
|
|
|
flash('Your Password must be longer than or equal to 12 characters.', category='error')
|
|
|
else:
|
|
|
if passwd_1 != passwd_2:
|