master
Aevann1 2021-08-13 21:27:21 +02:00
parent 68d9fa2dec
commit a43d7254ca
1 changed files with 1 additions and 4 deletions

View File

@ -125,10 +125,7 @@ def login_post():
# check for previous page
redir = request.form.get("redirect", "/")
if redir:
return redirect(redir)
else:
return redirect(account.url)
if "logged_out" not in redir: return redirect(redir)
@app.get("/me")