mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 11:14:28 +00:00
Fix the admin redirect
This commit is contained in:
parent
97fdcca06e
commit
b31994dae7
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -462,7 +462,7 @@ def admin_login():
|
||||||
session["challenge"] = None
|
session["challenge"] = None
|
||||||
|
|
||||||
session["logged_in"] = True
|
session["logged_in"] = True
|
||||||
return redirect(request.args.get("redirect") or "/notifications")
|
return redirect(request.args.get("redirect") or "/admin/notifications")
|
||||||
else:
|
else:
|
||||||
abort(401)
|
abort(401)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue