File tree 1 file changed +2
-2
lines changed
docs/modules/ROOT/pages/servlet/authentication
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();
402
402
@PostMapping("/my/logout")
403
403
public String performLogout(Authentication authentication, HttpServletRequest request, HttpServletResponse response) {
404
404
// .. perform logout
405
- this.logoutHandler.doLogout (request, response, authentication);
405
+ this.logoutHandler.logout (request, response, authentication);
406
406
return "redirect:/home";
407
407
}
408
408
----
@@ -416,7 +416,7 @@ val logoutHandler = SecurityContextLogoutHandler()
416
416
@PostMapping("/my/logout")
417
417
fun performLogout(val authentication: Authentication, val request: HttpServletRequest, val response: HttpServletResponse): String {
418
418
// .. perform logout
419
- this.logoutHandler.doLogout (request, response, authentication)
419
+ this.logoutHandler.logout (request, response, authentication)
420
420
return "redirect:/home"
421
421
}
422
422
----
You can’t perform that action at this time.
0 commit comments