Skip to content

Commit bb6045e

Browse files
committed
Merge branch '6.1.x' into 6.2.x
Closes gh-14648
2 parents cfb9f1e + 2fdd541 commit bb6045e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config/src/main/java/org/springframework/security/config/annotation/web/configurers/LogoutConfigurer.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -335,7 +335,6 @@ private LogoutFilter createLogoutFilter(H http) {
335335
LogoutFilter result = new LogoutFilter(getLogoutSuccessHandler(), handlers);
336336
result.setSecurityContextHolderStrategy(getSecurityContextHolderStrategy());
337337
result.setLogoutRequestMatcher(getLogoutRequestMatcher(http));
338-
result.setSecurityContextHolderStrategy(getSecurityContextHolderStrategy());
339338
result = postProcess(result);
340339
return result;
341340
}

0 commit comments

Comments
 (0)