14 lines
482 B
C#
14 lines
482 B
C#
using PrivaPub.ClientModels.Resources;
|
|||
|
|
|
||
|
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
|
||
|
|
namespace PrivaPub.ClientModels.User
|
||
|
|
{
|
||
|
|
// Deleting one's own login, and with it every persona and group it owns, asks for the password again.
|
||
|
|
public class RemoveSelfForm
|
||
|
|
{
|
||
|
|
[Required(ErrorMessageResourceName = "Required", ErrorMessageResourceType = typeof(ErrorsResource)),
|
||
|
|
Display(Name = "Password", ResourceType = typeof(FieldsNameResource))]
|
||
|
|
public string Password { get; set; }
|
||
|
|
}
|
||
|
|
}
|