Wrongful addition of "@" to username
|Reported by:||bpat1434||Owned by:||till|
- The username used to log into server is automatically appended with "@" symbol, but no domain when using multi-server environment.
- The user cannot log on due to erroneous "@" character in username.
- User would otherwise be logged on without the "@" character.
Modified the main.inc file to account for this. Using the $rcube_config['username_domain'] array, if the value is left blank, the "@" will not be suffixed to the username.
Username: john.doe Email : email@example.com Server : imap.domain.tld John goes to log into roundcube with the following information: Username: john.doe Password: NunYaBeezWax Roundcube processes input, sends IMAP server this: Username: john.doe@ Password: NunYaBeezWax
What should happen is that the username is sent as "john.doe".
In /config/main.inc.php in the $rcube_config['username_domain'] array, any array key that has an empty value will NOT have the "@" added to it. E.g.
$rcube_config!['username_domain'] = array( 'imap.domain.tld'=>'', );
Really hope that makes sense.