Add --allow-admin-registration, useful for tests

This commit is contained in:
nicolas.dorier
2019-05-13 17:00:58 +09:00
parent a3a259556f
commit 27fd49e61c
7 changed files with 20 additions and 2 deletions

View File

@@ -23,5 +23,8 @@ namespace BTCPayServer.Models.AccountViewModels
[Display(Name = "Confirm password")]
[Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
public string ConfirmPassword { get; set; }
[Display(Name = "Is administrator?")]
public bool IsAdmin { get; set; }
}
}