mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-06 18:52:13 +00:00
SEC-3120: Remove .and() from httpStrictTransportSecurity() doc
This commit is contained in:
parent
8d9b06afb4
commit
af2a431f23
@ -3517,9 +3517,7 @@ WebSecurityConfigurerAdapter {
|
||||
http
|
||||
// ...
|
||||
.headers()
|
||||
.frameOptions()
|
||||
.sameOrigin()
|
||||
.and()
|
||||
.frameOptions().sameOrigin()
|
||||
.httpStrictTransportSecurity().disable();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user