diff --git a/docs/modules/ROOT/pages/servlet/authentication/session-management.adoc b/docs/modules/ROOT/pages/servlet/authentication/session-management.adoc index f9434d3826..f269c960bc 100644 --- a/docs/modules/ROOT/pages/servlet/authentication/session-management.adoc +++ b/docs/modules/ROOT/pages/servlet/authentication/session-management.adoc @@ -788,7 +788,7 @@ Java:: @Bean public SecurityFilterChain filterChain(HttpSecurity http) { http - .sessionManagement((session) - session + .sessionManagement((session) -> session .sessionFixation((sessionFixation) -> sessionFixation .newSession() )