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: diff --git a/templates/solar-forgotpass.html b/templates/solar-forgotpass.html index ba3f8b7..fe0ce83 100644 --- a/templates/solar-forgotpass.html +++ b/templates/solar-forgotpass.html @@ -3,14 +3,14 @@ Portal ŠOLAR - - + +

Pozabljeno geslo - ŠOLAR

@@ -35,8 +35,8 @@ {% endwith %}
diff --git a/templates/solar-login.html b/templates/solar-login.html index c01e8e0..197edd2 100644 --- a/templates/solar-login.html +++ b/templates/solar-login.html @@ -3,14 +3,14 @@ Portal ŠOLAR - - + +