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

View File

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