mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 16:12:49 -05:00
Linting
This commit is contained in:
@ -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() { }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user