1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00
This commit is contained in:
Todd Martin
2022-11-07 15:30:08 -05:00
parent fd0f887e41
commit 65f28e7ef3

View File

@ -74,7 +74,7 @@ public class HCaptchaValidationService : ICaptchaValidationService
_logger.LogError(11389, e, "Unable to verify with HCaptcha."); _logger.LogError(11389, e, "Unable to verify with HCaptcha.");
return response; return response;
} }
if (!responseMessage.IsSuccessStatusCode) if (!responseMessage.IsSuccessStatusCode)
{ {
_logger.LogError("Error submitting Captcha token to HCaptcha: {status} - {message}", responseMessage.StatusCode, responseMessage.ReasonPhrase); _logger.LogError("Error submitting Captcha token to HCaptcha: {status} - {message}", responseMessage.StatusCode, responseMessage.ReasonPhrase);
@ -133,7 +133,7 @@ public class HCaptchaValidationService : ICaptchaValidationService
[JsonPropertyName("score_reason")] [JsonPropertyName("score_reason")]
public List<string> ScoreReason { get; set; } public List<string> ScoreReason { get; set; }
[JsonPropertyName("error-codes")] [JsonPropertyName("error-codes")]
public List<string> ErrorCodes {get;set;} public List<string> ErrorCodes { get; set; }
public void Dispose() { } public void Dispose() { }
} }