This commit is contained in:
2025-01-29 22:42:23 +08:00
parent 6e14b6d9e0
commit 621b84e309
+1 -1
View File
@@ -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/')