mirror of
https://github.com/bitwarden/server
synced 2025-12-14 23:33:41 +00:00
* EC-198 added global setting flag for 2FA email on new device login feature * EC-198 Removed is development environment check on 2FA email new device login given that we can now rely on the global settings feature flag * EC-198 Improved IGlobalSettings and UserService code for testing
19 lines
760 B
C#
19 lines
760 B
C#
namespace Bit.Core.Settings
|
|
{
|
|
public interface IGlobalSettings
|
|
{
|
|
// This interface exists for testing. Add settings here as needed for testing
|
|
bool SelfHosted { get; set; }
|
|
bool EnableCloudCommunication { get; set; }
|
|
string LicenseDirectory { get; set; }
|
|
string LicenseCertificatePassword { get; set; }
|
|
int OrganizationInviteExpirationHours { get; set; }
|
|
bool DisableUserRegistration { get; set; }
|
|
IInstallationSettings Installation { get; set; }
|
|
IFileStorageSettings Attachment { get; set; }
|
|
IConnectionStringSettings Storage { get; set; }
|
|
IBaseServiceUriSettings BaseServiceUri { get; set; }
|
|
ITwoFactorAuthSettings TwoFactorAuth { get; set; }
|
|
}
|
|
}
|