From 621b84e309c2a06ba607ad6c024479458340d94e Mon Sep 17 00:00:00 2001 From: 3err0 Date: Wed, 29 Jan 2025 22:42:23 +0800 Subject: [PATCH] fix --- routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes.py b/routes.py index f1c27e2..1fb6e12 100644 --- a/routes.py +++ b/routes.py @@ -30,7 +30,7 @@ def login(): user = User.query.filter_by(email=email).first() if user and bcrypt.check_password_hash(user.password, password): login_user(user) - return redirect(url_for('upload-document')) + return redirect(url_for('upload_document')) return render_template('login.html') @app.route('/logout/')