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.

EditSettingsViewModel.cs 995B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Mvc;
  6. namespace Teknik.Areas.Users.ViewModels
  7. {
  8. public class EditSettingsViewModel
  9. {
  10. [AllowHtml]
  11. public string CurrentPassword { get; set; }
  12. [AllowHtml]
  13. public string NewPassword { get; set; }
  14. [AllowHtml]
  15. public string NewPasswordConfirm { get; set; }
  16. public string PgpPublicKey { get; set; }
  17. public string RecoveryEmail { get; set; }
  18. public bool AllowTrustedDevices { get; set; }
  19. public bool TwoFactorEnabled { get; set; }
  20. public string Website { get; set; }
  21. public string Quote { get; set; }
  22. [AllowHtml]
  23. public string About { get; set; }
  24. public string BlogTitle { get; set; }
  25. public string BlogDesc { get; set; }
  26. public bool Encrypt { get; set; }
  27. }
  28. }