The next generation of the Teknik Services. Written in ASP.NET.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 lines
897 B

using System;
using System.ComponentModel.DataAnnotations;
using Teknik.Areas.Users.Models;
using Teknik.Helpers;
using Teknik.Models;
using Teknik.ViewModels;
namespace Teknik.Areas.Users.ViewModels
{
public class RegisterViewModel : ViewModelBase
{
[Required]
[Display(Name = "Username")]
public string Username { get; set; }
[Required]
[Display(Name = "Password")]
[DataType(DataType.Password)]
public string Password { get; set; }
[Required]
[Display(Name = "Confirm Password")]
[DataType(DataType.Password)]
public string ConfirmPassword { get; set; }
[Display(Name = "Recovery Email")]
public string RecoveryEmail { get; set; }
[Display(Name = "Public PGP Key")]
public string PublicKey { get; set; }
public string ReturnUrl { get; set; }
}
}