He, I would like to customise ASP.NET Identity in VS 2013 templates like Custo;ising Asp.Net Membership in VS 2010 or 2012.
So I create an asp.net mvc5 project using VS2013 and I
create a custom
public abstract class User : IdentityUser
{
public string Id { get; set; }
public string UserName { get; set; }
public string PasswordHash { get; set; }
public string SecurityStamp { get; set; }
}
And then update my AccountController class like this
[Authorize]
public class AccountController : Controller
{
public AccountController()
: this(new UserManager<User>(new UserStore<User>(new ApplicationDbContext())))
{
}
publi ...
Go to the complete details ...