forked from extern/egroupware
"reverted SyncML part of my NTLM commit from yesterday, as it breaks SyncML: session::verify() is necessary to restore the eGW session (it's NOT used to verify the session)"
This commit is contained in:
parent
b5c28fba48
commit
9374ade6f5
@ -278,12 +278,6 @@ class EGW_SyncML_State extends Horde_SyncML_State
|
||||
Horde::logMessage('SyncML: Authentication of ' . $this->_locName . ' failed' , __FILE__, __LINE__, PEAR_LOG_INFO);
|
||||
}
|
||||
}
|
||||
/*
|
||||
* RalfBecker 2008-07-16: commented out, as return value is NOT used anyway
|
||||
* It is not a security problem, as without a valid SyncML session
|
||||
* one is created anyway. The horde SyncML codes handles that on it's own.
|
||||
* Leaving it in gives problems with NTLM auth, as verify redirects there.
|
||||
*
|
||||
else
|
||||
{
|
||||
// store sessionID in a variable, because ->verify maybe resets that value
|
||||
@ -291,7 +285,7 @@ class EGW_SyncML_State extends Horde_SyncML_State
|
||||
if(!$GLOBALS['egw']->session->verify($sessionID, 'staticsyncmlkp3')) {
|
||||
Horde::logMessage('SyncML_EGW: egw session(' .$sessionID. ') not verified ' , __FILE__, __LINE__, PEAR_LOG_DEBUG);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
return $this->_isAuthorized;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user