I am working with an MVC4 application and an existing database. I want to use the default login and register defined at SimpleMembership MVC4.
I am using a table with employee information like, EmployeID, Employename, password, email...
At SimpleMembershipInitializer
I changed
WebSecurity.InitializeDatabaseConnection("DefaultConnection", "UserProfile", "UserId", "UserName", autoCreateTables: true);
to my own :
WebSecurity.InitializeDatabaseConnection("HRContext", "Employee", "EmployeeId", "EmployeName", autoCreateTables: true);
and changed the AccountController
but in vain
I just want to use my database with the default register/ login methods.I read several topics, but none of them give me a what I need.