Merge branch '6.4.x'

Closes gh-16465
This commit is contained in:
Rob Winch 2025-01-22 16:04:19 -06:00
commit dddab8e356
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -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()))