forked from MarseyWorld/MarseyWorld
fdfd
parent
809c02fae1
commit
033f5a6e7f
|
@ -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…
Reference in New Issue