fdfd
This commit is contained in:
parent
4aa2de5a0c
commit
aea30e29fc
1 changed files with 1 additions and 2 deletions
|
@ -125,8 +125,7 @@ def login_post():
|
||||||
# check for previous page
|
# check for previous page
|
||||||
|
|
||||||
redir = request.form.get("redirect", "/")
|
redir = request.form.get("redirect", "/")
|
||||||
if "/logged_out" not in redir: return redirect(redir)
|
return redirect(redir.replace("/logged_out", ""))
|
||||||
else: return redirect(redir.replace("/logged_out", ""))
|
|
||||||
|
|
||||||
|
|
||||||
@app.get("/me")
|
@app.get("/me")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue