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["logged_in"] = True
|
||||
return redirect(request.args.get("redirect") or "/notifications")
|
||||
return redirect(request.args.get("redirect") or "/admin/notifications")
|
||||
else:
|
||||
abort(401)
|
||||
|
||||
|
|
Loading…
Reference in a new issue