mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Don't check headers, simply verify user first, server second.
This commit is contained in:
parent
a52878e3b3
commit
878aae8025
14
xmlrpc.php
14
xmlrpc.php
@ -34,19 +34,13 @@
|
||||
$auth = base64_decode(trim($tmp));
|
||||
list($sessionid,$kp3) = split(':',$auth);
|
||||
|
||||
if($HTTP_SERVER_VARS['HTTP_X_PHPGW_SERVER'])
|
||||
if($GLOBALS['phpgw']->session->verify($sessionid,$kp3))
|
||||
{
|
||||
if($GLOBALS['phpgw']->session->verify_server($sessionid,$kp3))
|
||||
{
|
||||
$server->authed = True;
|
||||
}
|
||||
$server->authed = True;
|
||||
}
|
||||
else
|
||||
elseif($GLOBALS['phpgw']->session->verify_server($sessionid,$kp3))
|
||||
{
|
||||
if($GLOBALS['phpgw']->session->verify($sessionid,$kp3))
|
||||
{
|
||||
$server->authed = True;
|
||||
}
|
||||
$server->authed = True;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user