Roundcube Community Forum

 

Problem with non-standard password characters

Started by Themdall, June 26, 2025, 04:26:53 AM

Previous topic - Next topic

Themdall

When a user has non-standard characters (Polish characters) in their login password, they cannot log in to their email via roundcube. They receive the message "Invalid user name or password".
Email program (Thunderbird and Outlook) log in to the mail server without any problem with this password.

RoundCube 1.6.10
PHP 8.3.17
Apache 2.4.58
Hmail server

Only two info in log rcube:
Login failed for [email protected] against localhost from 10.0.10.17. LOGIN: Invalid user name or password.
PHP Deprecated:  Function utf8_encode() is deprecated in ...\program\lib\Roundcube\rcube_db.php on line 1135

JohnDoh

What charset is Hmail server using to store the passwords? You can change the charset Roundcube submits the password in using this config option:
// Password character set, to change the password for user
// authentication or for password change operations
$config['password_charset'] = 'UTF-8';
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...