diff --git a/app/auth.py b/app/auth.py index 187f4b8..30a89ad 100644 --- a/app/auth.py +++ b/app/auth.py @@ -89,6 +89,7 @@ def login(): return redirect('/') else: form.password.errors.append('Invalid username or password.') + return render_template('auth/login.html', form=form) return redirect('/') return render_template('auth/login.html', form=form)