mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
Add domain support
This commit is contained in:
parent
edd5a58870
commit
08d11093dd
@ -299,6 +299,9 @@ class EGW_SyncML_State extends Horde_SyncML_State
|
||||
|
||||
if(strpos($this->_locName,'@') === False) {
|
||||
$this->_locName .= '@'.$GLOBALS['egw_info']['server']['default_domain'];
|
||||
} else {
|
||||
$parts = explode('@',$this->_locName);
|
||||
$GLOBALS['egw_info']['user']['domain'] = array_pop($parts);
|
||||
}
|
||||
|
||||
#Horde::logMessage('SyncML: authenticate with username: ' . $this->_locName . ' and password: ' . $this->_password, __FILE__, __LINE__, PEAR_LOG_DEBUG);
|
||||
|
Loading…
Reference in New Issue
Block a user