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