fix for issue #24
This commit is contained in:
parent
b6bd1551ca
commit
a825e2c29d
|
@ -24,7 +24,7 @@ $resp = array("error" => "Unknown error", "message" => "An unknown error has occ
|
|||
// get information on user associated to the token
|
||||
$info_oauth = $server->getAccessTokenData(OAuth2\Request::createFromGlobals());
|
||||
$user = $info_oauth["user_id"];
|
||||
$assoc_id = $info_oauth["assoc_id"];
|
||||
$assoc_id = intval($info_oauth["assoc_id"]);
|
||||
|
||||
// Open a LDAP connection
|
||||
$ldap = new LDAP($hostname,$port,$ldap_version);
|
||||
|
|
Loading…
Reference in New Issue