diff --git a/src/main/java/de/thm/arsnova/LoginController.java b/src/main/java/de/thm/arsnova/LoginController.java index 1b8687e3b8baa5348dc08ffcc7dc080b645b5e69..bc4e12b1cd46ddfcc6e9a0a98d4cd028bd06fbab 100644 --- a/src/main/java/de/thm/arsnova/LoginController.java +++ b/src/main/java/de/thm/arsnova/LoginController.java @@ -72,7 +72,7 @@ public class LoginController { return new ModelAndView("redirect:/#auth/checkCasLogin/" + userHash); } - @RequestMapping(method = RequestMethod.GET, value = "/doOpenIdLogin") + @RequestMapping(method = RequestMethod.GET, value = "/doGuestLogin") public ModelAndView doGuestLogin() { return null; } diff --git a/src/main/java/de/thm/arsnova/SessionController.java b/src/main/java/de/thm/arsnova/SessionController.java index 21c057db0b20dd6e7da6bf9b4f2b2d22c56a4ae6..7841e0eb5705547060c20410cf24d71689ec4bfd 100644 --- a/src/main/java/de/thm/arsnova/SessionController.java +++ b/src/main/java/de/thm/arsnova/SessionController.java @@ -26,8 +26,6 @@ public class SessionController { Session session = sessionService.getSession(sessionkey); if (session != null) return session; - authenticationService.getUsername(); - response.setStatus(HttpStatus.NOT_FOUND.value()); return null; }