forked from MarseyWorld/MarseyWorld
fdfd
parent
68d9fa2dec
commit
a43d7254ca
|
@ -125,10 +125,7 @@ def login_post():
|
|||
# check for previous page
|
||||
|
||||
redir = request.form.get("redirect", "/")
|
||||
if redir:
|
||||
return redirect(redir)
|
||||
else:
|
||||
return redirect(account.url)
|
||||
if "logged_out" not in redir: return redirect(redir)
|
||||
|
||||
|
||||
@app.get("/me")
|
||||
|
|
Loading…
Reference in New Issue