We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7804e32 commit 01117b1Copy full SHA for 01117b1
docs/modules/ROOT/pages/migration/reactive.adoc
@@ -186,7 +186,9 @@ open fun securityWebFilterChain(http: ServerHttpSecurity): SecurityWebFilterChai
186
fun csrfCookieWebFilter(): WebFilter {
187
return WebFilter { exchange, chain ->
188
val csrfToken = exchange.getAttribute<Mono<CsrfToken>>(CsrfToken::class.java.name) ?: Mono.empty()
189
- csrfToken.doOnSuccess { }.then(chain.filter(exchange))
+ csrfToken.doOnSuccess {
190
+ /* Ensures the token is subscribed to. */
191
+ }.then(chain.filter(exchange))
192
}
193
194
----
0 commit comments