Skip to content

Commit

Permalink
refactor: 로그아웃 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
shb03323 committed Sep 25, 2023
1 parent f384e25 commit 92a75c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@Controller
public class LogoutController {

@RequestMapping(value = "/logout", method = RequestMethod.POST)
@RequestMapping(value = "/logout", method = RequestMethod.GET)
public ModelAndView execute(final HttpServletRequest req, final HttpServletResponse res) throws Exception {
final var session = req.getSession();
session.removeAttribute(UserSession.SESSION_KEY);
Expand Down

0 comments on commit 92a75c5

Please sign in to comment.