mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-06 08:14:08 +01:00
- Fix %h/%z variables in username_domain option (#1487701)
This commit is contained in:
@@ -674,9 +674,9 @@ class rcmail
|
||||
// Check if we need to add domain
|
||||
if (!empty($config['username_domain']) && strpos($username, '@') === false) {
|
||||
if (is_array($config['username_domain']) && isset($config['username_domain'][$host]))
|
||||
$username .= '@'.rcube_parse_host($config['username_domain'][$host]);
|
||||
$username .= '@'.rcube_parse_host($config['username_domain'][$host], $host);
|
||||
else if (is_string($config['username_domain']))
|
||||
$username .= '@'.rcube_parse_host($config['username_domain']);
|
||||
$username .= '@'.rcube_parse_host($config['username_domain'], $host);
|
||||
}
|
||||
|
||||
// Convert username to lowercase. If IMAP backend
|
||||
|
||||
Reference in New Issue
Block a user