mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 19:18:04 +01:00
Add platform tag to invalid HCaptcha reason metric
This commit is contained in:
@@ -386,7 +386,7 @@ public class VerificationController {
|
||||
try {
|
||||
|
||||
assessmentResult = registrationCaptchaManager.assessCaptcha(
|
||||
Optional.of(updateVerificationSessionRequest.captcha()), sourceHost)
|
||||
Optional.of(updateVerificationSessionRequest.captcha()), sourceHost, userAgent)
|
||||
.orElseThrow(() -> new ServerErrorException(Response.Status.INTERNAL_SERVER_ERROR));
|
||||
|
||||
Metrics.counter(CAPTCHA_ATTEMPT_COUNTER_NAME, Tags.of(
|
||||
|
||||
Reference in New Issue
Block a user