From 379b95d92489e26a32fa45cdb83d43e51e2e0af4 Mon Sep 17 00:00:00 2001 From: Curtis Yanko Date: Thu, 6 Jan 2022 10:01:57 -0500 Subject: [PATCH] Update AdminController.java --- src/main/java/io/shiftleft/controller/AdminController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/shiftleft/controller/AdminController.java b/src/main/java/io/shiftleft/controller/AdminController.java index 6ea6d9e74..15bdbd365 100644 --- a/src/main/java/io/shiftleft/controller/AdminController.java +++ b/src/main/java/io/shiftleft/controller/AdminController.java @@ -89,7 +89,7 @@ public String doPostLogin(@CookieValue(value = "auth", defaultValue = "notset") // no cookie no fun if (!auth.equals("notset")) { if(isAdmin(auth)) { - // request.getSession().setAttribute("auth",auth); + request.getSession().setAttribute("auth",auth); return succ; } }