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