I added this code (reset_email_lower) to registration too. But I checked the database and see the following:
1) I create a new user account with email all lower case. 2) the app logs in as default. 3) Log out. 4) I try to create a new user account with same email but first letter a capital. I see in the database that a new account is created and the email is stored a lower cap but now I have two id's with the same email in auth_user table 5) after creating the new account the app logs automatically and in auth_event I see User ##### Registered and in user_id column the user_id of the other account which already was created with lower caps. Bottom line - when registering - how to convert the email to lower cap so web2py to be able to check if the same email is already registered, and if so to prevent creating of a new account and notify the user that the account already exist.

