C# .NET - Use the e-mail and password to authenticate a user instead of username and password

Asked By Dom Afonso on 09-Sep-12 02:47 AM
I want to change the defaut logic of a log in control. Instead of having it use a username and password to authenticate a user, I want it to use values in different columns of asp.net provider tables such as Email column and password column.
Can anyone instruct me how to do this: based on log in control events and stored procedures or any other method?
Peter Bromberg replied to Dom Afonso on 09-Sep-12 09:18 AM
simply provide the email in the UserName field and you are done. The email now becomes the user name.