//----------------------------------------------------------------------- // // Copyright (c) aliasvault. All rights reserved. // Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information. // //----------------------------------------------------------------------- namespace AliasVault.Client.Auth.Models; using System.ComponentModel.DataAnnotations; using AliasVault.Client.Resources; /// /// Unlock model with localized validation. /// public class UnlockModel { /// /// Gets or sets the password. /// [Required(ErrorMessageResourceType = typeof(ValidationMessages), ErrorMessageResourceName = nameof(ValidationMessages.PasswordRequired))] public string Password { get; set; } = null!; }