mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-23 12:32:13 +00:00
Merge branch '6.4.x'
Closes gh-16465
This commit is contained in:
commit
dddab8e356
@ -58,7 +58,6 @@ public final class GenerateOneTimeTokenWebFilter implements WebFilter {
|
||||
// @formatter:off
|
||||
return this.matcher.matches(exchange)
|
||||
.filter(ServerWebExchangeMatcher.MatchResult::isMatch)
|
||||
.switchIfEmpty(chain.filter(exchange).then(Mono.empty()))
|
||||
.then(exchange.getFormData())
|
||||
.mapNotNull((data) -> data.getFirst(USERNAME))
|
||||
.switchIfEmpty(chain.filter(exchange).then(Mono.empty()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user