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