mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
hcaptcha validation on password login (#1398)
This commit is contained in:
@ -40,6 +40,7 @@ namespace Bit.Core.Settings
|
||||
public virtual bool DisableEmailNewDevice { get; set; }
|
||||
public virtual int OrganizationInviteExpirationHours { get; set; } = 120; // 5 days
|
||||
public virtual string EventGridKey { get; set; }
|
||||
public virtual CaptchaSettings Captcha { get; set; } = new CaptchaSettings();
|
||||
public virtual InstallationSettings Installation { get; set; } = new InstallationSettings();
|
||||
public virtual BaseServiceUriSettings BaseServiceUri { get; set; }
|
||||
public virtual SqlSettings SqlServer { get; set; } = new SqlSettings();
|
||||
@ -466,5 +467,11 @@ namespace Bit.Core.Settings
|
||||
{
|
||||
public int CacheLifetimeInSeconds { get; set; } = 60;
|
||||
}
|
||||
|
||||
public class CaptchaSettings
|
||||
{
|
||||
public string HCaptchaSecretKey { get; set; }
|
||||
public string HCaptchaSiteKey { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user