From b31994dae7bee4c8bb80ca92b8be7e0a9560b12a Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sat, 7 Jul 2018 00:12:35 +0200 Subject: [PATCH] Fix the admin redirect --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 5d92bac..dbff624 100644 --- a/app.py +++ b/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)