In my app I am using Parse as a back-end. I want to convert the username to case insensitive. I found this which is cool, but my problem is that I already have a lot of accounts that contain Camel cased usernames.
My idea is to use cloud code to detect a login attempt. If I can run code before a signup or a login, I can then convert the incoming and the stored username texts to lowercase, compare them, and then be on my way.
Is something like this possible? I am not very good with parses cloud code, can this be done?