mirror of
https://github.com/bitwarden/server
synced 2025-12-15 07:43:54 +00:00
[Captcha] Implement failed logins ceiling (#1870)
* [Hacker1] Failed Login Attempts Captcha * [Captcha] Implement failed logins ceiling * Formatting * Updated approach after implementation talks with Kyle * Updated email templates // Updated calling arch for failed attempts * Formatting * Updated 2fa email links * Renamed baserequest methods to better match their actions * EF migrations/scripts * Updated with requested changes * Defaults for MaxiumumFailedLoginAttempts
This commit is contained in:
@@ -463,6 +463,7 @@ namespace Bit.Core.Settings
|
||||
public bool ForceCaptchaRequired { get; set; } = false;
|
||||
public string HCaptchaSecretKey { get; set; }
|
||||
public string HCaptchaSiteKey { get; set; }
|
||||
public int? MaximumFailedLoginAttempts { get; set; }
|
||||
}
|
||||
|
||||
public class StripeSettings
|
||||
|
||||
Reference in New Issue
Block a user