[RCU] user IDs in MySQL

Jim Pazarena roundcube at paz.bz
Thu Sep 8 19:23:08 CEST 2011


On 2011-09-08 9:34 AM, Jorge López Pérez wrote:
> Hi Jim,
>
> On 08/09/11 17:48, Jim Pazarena wrote:
>> Upon examining my MySQL database for "users", I have discovered
>> some on my users have multiple identities because that have placed
>> an uppercase letter within their email address. My popper defaults
>> to all lower, even if roundcube submits upper.
>>
>> Is there a way to have roundcube "strtolower" all address entries
>> on the login screen?
>
>    We use a custom login page which does that among other things, but I
> think you can write a very simple plugin which uses the authenticate
> hook (http://trac.roundcube.net/wiki/Plugin_Hooks#authenticate ) to
> return every user and host values in lowercase.
>
>    Regards.

I was hoping more to hear that a flag can be set in the config file
"force logins to lowercase"

Can anyone suggest the appropriate spot to add this function within the
source? Not creating a variable, but merely to force to strtolower
in the appropriate code location?

Thanks!

-- 
List info: http://lists.roundcube.net/users/
BT/9b404e9e


More information about the users mailing list