Is there a way to get Asp.Net Identity to be case insensitive with email addresses and usernames?
At the moment if I call "FindByEmailAsync(email)" it will only work if the email address is being stored exactly as it's is typed (case sensitive)
Is there a way to get Asp.Net Identity to be case insensitive with email addresses and usernames?
At the moment if I call "FindByEmailAsync(email)" it will only work if the email address is being stored exactly as it's is typed (case sensitive)
You can change how the user is registered so that the username is set to lowercase and when logging in as well.
For registering the user, in the AccountController
And for logging in: