Roundcube Community Forum

Release Support => Pending Issues => Topic started by: ConiKost on June 07, 2008, 04:51:56 PM

Title: Login - Case Insensetive - possible to deactivate?
Post by: ConiKost on June 07, 2008, 04:51:56 PM
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?
Title: Login - Case Insensetive - possible to deactivate?
Post by: JohnDoh on June 08, 2008, 06:42:18 AM
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.