mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-18 09:24:52 +00:00
Missing imports and wrong redirect
This commit is contained in:
parent
a93a8cf04d
commit
f2ee0279f0
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ def login():
|
|||
if error:
|
||||
for err in error:
|
||||
flash(err, "error")
|
||||
return redirect(url_for("views.account"))
|
||||
return redirect(url_for("auth.auth"))
|
||||
|
||||
login_user(user, remember=True)
|
||||
flash("Successfully logged in!", "success")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue