skip to Main Content

Cookie not set in spring boot mvc – Shopify

@RequestMapping(value = "/login", method = RequestMethod.POST) public String login(HttpServletResponse response, Model modelAndView, @RequestParam String email, @RequestParam String password, @RequestParam(required = false) String redirect) { LoginDTO loginDTO = account.doLogin(email, password); if (loginDTO.getLoginMGS() == LoginStatus.LOGGED_IN) { Cookie cookie = new Cookie("token", loginDTO.getToken());…

VIEW QUESTION
Back To Top
Search