Fix the admin redirect

This commit is contained in:
Thomas Sileo 2018-07-07 00:12:35 +02:00
parent 97fdcca06e
commit b31994dae7

2
app.py
View file

@ -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)