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
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue