diff --git a/codeGrader/frontend/admin/handlers/AdminUser.py b/codeGrader/frontend/admin/handlers/AdminUser.py index 70ef40e..9e1244e 100644 --- a/codeGrader/frontend/admin/handlers/AdminUser.py +++ b/codeGrader/frontend/admin/handlers/AdminUser.py @@ -133,7 +133,7 @@ def get(self) -> Union[str, Response]: else: # admin is not allowed to see this admin add page self.flash("You are not allowed to access this site") - return redirect(url_for(admins)) + return redirect(url_for("admins")) def post(self) -> Response: """