mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 16:12:49 -05:00
log captcha response info (#2018)
* log captcha response info * wrap in isBot condition
This commit is contained in:
@ -89,6 +89,7 @@ namespace Bit.Core.Services
|
||||
var score = hcaptchaResponse.Score.GetValueOrDefault();
|
||||
response.MaybeBot = score >= _globalSettings.Captcha.MaybeBotScoreThreshold;
|
||||
response.IsBot = score >= _globalSettings.Captcha.IsBotScoreThreshold;
|
||||
response.Score = score;
|
||||
return response;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user