1
0
mirror of https://github.com/bitwarden/server synced 2025-12-17 16:53:23 +00:00

allow to disable user registration from env

This commit is contained in:
Kyle Spearrin
2017-08-28 07:50:57 -04:00
parent 5fa7321575
commit 417ac64ad2
3 changed files with 9 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ namespace Bit.Core
public virtual string LogDirectory { get; set; }
public virtual string LicenseDirectory { get; set; }
public virtual string PushRelayBaseUri { get; set; }
public virtual bool DisableUserRegistration { get; set; }
public virtual InstallationSettings Installation { get; set; } = new InstallationSettings();
public virtual BaseServiceUriSettings BaseServiceUri { get; set; } = new BaseServiceUriSettings();
public virtual SqlServerSettings SqlServer { get; set; } = new SqlServerSettings();