Skip to content

Commit f62c822

Browse files
Potential fix for code scanning alert no. 48: Disabled Spring CSRF protection
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Marc <[email protected]>
1 parent baa37ae commit f62c822

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rdp-proxy/src/main/java/io/sentrius/sso/rdpproxy/security/RdpProxySecurityConfig.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public SecurityFilterChain rdpProxySecurityFilterChain(HttpSecurity http) throws
3636
.anyRequest().permitAll())
3737
.sessionManagement(session -> session
3838
.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
39-
.csrf(csrf -> csrf.disable())
4039
.cors(cors -> cors.configurationSource(corsConfigurationSource()))
4140
.build();
4241
}

0 commit comments

Comments
 (0)