浏览代码

Update session-management.adoc

lambda expression typo. I changed '(session) - session' to '(session) -> session'
Habin Song 1 年之前
父节点
当前提交
49f447f3d0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/modules/ROOT/pages/servlet/authentication/session-management.adoc

+ 1 - 1
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()
             )