Litle fiz to use Resource Owner grant type on Oauth2 Service
This commit is contained in:
@@ -209,7 +209,7 @@ class PmPdo implements \OAuth2\Storage\AuthorizationCodeInterface,
|
|||||||
|
|
||||||
// the default behavior is to use "username" as the user_id
|
// the default behavior is to use "username" as the user_id
|
||||||
return array_merge(array(
|
return array_merge(array(
|
||||||
'user_id' => $username
|
'user_id' => $userInfo['USR_UID'] //$username
|
||||||
), $userInfo);
|
), $userInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user