mirror of
https://github.com/bitwarden/server.git
synced 2026-02-06 00:53:20 +08:00
* Mock out provider models and service * Implement CreateAsync, CompleteSetupAsync, UpdateAsync, InviteUserAsync and ResendInvitesAsync * Implement AcceptUserAsync and ConfirmUsersAsync * Implement SaveUserAsync and DeleteUserAsync * Add email templates * Add admin operations for providers * Fix mail template names * Rename roles * Verify provider has provideradmin * Add self hosted check to admin controller * Resolve review comments * Update sql queries * Change create provider to use email instead of userId
14 lines
285 B
C#
14 lines
285 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Bit.Admin.Models
|
|
{
|
|
public class CreateProviderModel
|
|
{
|
|
public CreateProviderModel() { }
|
|
|
|
[Display(Name = "Owner Email")]
|
|
[Required]
|
|
public string OwnerEmail { get; set; }
|
|
}
|
|
}
|