Roundcube Community Forum

Release Support => Pending Issues => Topic started by: Themdall on June 26, 2025, 04:26:53 AM

Title: Problem with non-standard password characters
Post by: Themdall on June 26, 2025, 04:26:53 AM
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
Title: Re: Problem with non-standard password characters
Post by: JohnDoh on June 26, 2025, 11:41:50 AM
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';