master
Aevann1 2021-08-13 23:11:55 +02:00
parent 5bbf0cc4c0
commit 809c02fae1
1 changed files with 2 additions and 1 deletions

View File

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