Can create user without authentication if there is no admin

This commit is contained in:
nicolas.dorier
2020-03-18 23:10:15 +09:00
parent 540a31207e
commit e50e3f662d
9 changed files with 189 additions and 46 deletions

View File

@@ -34,9 +34,5 @@ namespace BTCPayServer.Client.Models
/// Whether this user is an administrator. If left null and there are no admins in the system, the user will be created as an admin.
/// </summary>
public bool? IsAdministrator { get; set; }
/// <summary>
/// If the server requires email confirmation, this allows you to set the account as confirmed from the start
/// </summary>
public bool? EmailConfirmed { get; set; }
}
}