From 743ebba052e3b2150f3e0dadff69cc90579c911c Mon Sep 17 00:00:00 2001 From: msinkec Date: Sun, 26 Dec 2021 17:55:12 +0100 Subject: [PATCH] Pass len check fix. --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: