Just an update here. I have implemented your solution on my testbed
but have not rolled it into the public version yet. In four days I
have had four users contact me because "the logon doesn't work". In
each case, they had a capital letter somewhere in their email
address.
For my fix, I think I would rather let people enter addresses in any
case but do the login comparison in a case-insenstitive manner. I did
not see UPPER() and LOWER() mentioned in the web2py manual as SQL
functions available on columns for queries. I'll look up the source
code and see if they're in there.
-- Joe B.