Roundcube Community Forum

 

Login - Case Insensetive - possible to deactivate?

Started by ConiKost, June 07, 2008, 04:51:56 PM

Previous topic - Next topic

ConiKost

Hello :)

I got a strange problem. When i log in trough roundcube like "[email protected]", roundcube sends "[email protected]". so test ist spelled with small letters. is it possible to change this? this conflicts with my mail server, because its case sensetive and only "[email protected]" is valide for login.

Any ideas?

JohnDoh

I haven't tested this but i think it will work...

look for

// lowercase username if it's an e-mail address (#1484473)
if (strpos($username, '@'))
    $username = strtolower($username);

in either program/include/rcmail.php (in the login function) or program/include/main.inc (in the rcmail_login function) depending on what version of RC you have and comment it out.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...