Pass len check fix.

leon-redesign
msinkec 2 years ago
parent 13a5fdd6f7
commit 743ebba052

@ -204,7 +204,7 @@ def solar_register_post():
if not password:
flash('Prazno polje za geslo.')
return redirect('/register')
if len(password) > 8:
if len(password) < 8:
flash('Geslo mora biti vsaj 8 znakov dolgo.')
return redirect('/register')
if len(password) > 100:

Loading…
Cancel
Save