diff --git a/app.py b/app.py index 66c6de9..0db7352 100644 --- a/app.py +++ b/app.py @@ -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: