File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/modules/ROOT/pages/servlet/authentication Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ SecurityContextLogoutHandler logoutHandler = new SecurityContextLogoutHandler();
402402@PostMapping("/my/logout")
403403public String performLogout(Authentication authentication, HttpServletRequest request, HttpServletResponse response) {
404404 // .. perform logout
405- this.logoutHandler.doLogout (request, response, authentication);
405+ this.logoutHandler.logout (request, response, authentication);
406406 return "redirect:/home";
407407}
408408----
@@ -416,7 +416,7 @@ val logoutHandler = SecurityContextLogoutHandler()
416416@PostMapping("/my/logout")
417417fun performLogout(val authentication: Authentication, val request: HttpServletRequest, val response: HttpServletResponse): String {
418418 // .. perform logout
419- this.logoutHandler.doLogout (request, response, authentication)
419+ this.logoutHandler.logout (request, response, authentication)
420420 return "redirect:/home"
421421}
422422----
You can’t perform that action at this time.
0 commit comments