Skip to content

Instantly share code, notes, and snippets.

@ErikHen
Created May 11, 2017 10:01
Show Gist options
  • Save ErikHen/53c7de21e1d15eff60282391061588ce to your computer and use it in GitHub Desktop.
Save ErikHen/53c7de21e1d15eff60282391061588ce to your computer and use it in GitHub Desktop.
Episerver Mixed-mode auth. Login view
public class LoginViewModel
{
[Required]
[Display(Name = "Username")]
public string Username { get; set; }
[Required]
[DataType(DataType.Password)]
[Display(Name = "Password")]
[AllowHtml]
public string Password { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment