The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
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.

RegisterViewModel.cs 858B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using Teknik.ViewModels;
  4. namespace Teknik.Areas.Users.ViewModels
  5. {
  6. public class RegisterViewModel : ViewModelBase
  7. {
  8. [Required]
  9. [Display(Name = "Username")]
  10. public string Username { get; set; }
  11. [Required]
  12. [Display(Name = "Password")]
  13. [DataType(DataType.Password)]
  14. public string Password { get; set; }
  15. [Required]
  16. [Display(Name = "Confirm Password")]
  17. [DataType(DataType.Password)]
  18. public string ConfirmPassword { get; set; }
  19. [Display(Name = "InviteCode")]
  20. public string InviteCode { get; set; }
  21. [Display(Name = "Recovery Email")]
  22. [DataType(DataType.EmailAddress)]
  23. public string RecoveryEmail { get; set; }
  24. public string ReturnUrl { get; set; }
  25. }
  26. }