Would anyone be able to help me? Looking to try and convert the email to all lowercase before it gets posted to the database within the signin and then convert to lowercase before it gets compared on login?
Thanks
In JavaScript to convert a string to lowercase you can string method 'toLowerCase()'
I hope it answers your question.
Thanks for the response,
I have managed to figure this out. Just as simple as adding a Constraint into the model for Lowercase: true
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Would anyone be able to help me?
Looking to try and convert the email to all lowercase before it gets posted to the database within the signin and then convert to lowercase before it gets compared on login?
Thanks
In JavaScript to convert a string to lowercase you can string method 'toLowerCase()'
I hope it answers your question.
Thanks for the response,
I have managed to figure this out.
Just as simple as adding a Constraint into the model for
Lowercase: true