We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e030bb7 + 1c2c309 commit 2581a19Copy full SHA for 2581a19
config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java
@@ -3105,7 +3105,7 @@ private ServerLogoutHandler createLogoutHandler() {
3105
this.DEFAULT_LOGOUT_HANDLER.setSecurityContextRepository(securityContextRepository);
3106
}
3107
if (this.logoutHandlers.isEmpty()) {
3108
- return null;
+ return this.DEFAULT_LOGOUT_HANDLER;
3109
3110
if (this.logoutHandlers.size() == 1) {
3111
return this.logoutHandlers.get(0);
0 commit comments