Tag captcha attempt metrics with UA platform

This commit is contained in:
Jon Chambers
2022-03-16 14:38:02 -04:00
committed by Jon Chambers
parent 5ca89709e3
commit c048074c31
4 changed files with 18 additions and 8 deletions

View File

@@ -68,7 +68,7 @@ public class ChallengeController {
final String mostRecentProxy = ForwardedIpUtil.getMostRecentProxy(forwardedFor).orElseThrow();
rateLimitChallengeManager.answerRecaptchaChallenge(auth.getAccount(), recaptchaChallengeRequest.getCaptcha(),
mostRecentProxy);
mostRecentProxy, userAgent);
} catch (final NoSuchElementException e) {
return Response.status(400).build();