Litle fiz to use Resource Owner grant type on Oauth2 Service

This commit is contained in:
eriknyk
2014-09-23 16:58:29 -04:00
parent 80083ffff4
commit 1985f942c2

View File

@@ -209,7 +209,7 @@ class PmPdo implements \OAuth2\Storage\AuthorizationCodeInterface,
// the default behavior is to use "username" as the user_id
return array_merge(array(
'user_id' => $username
'user_id' => $userInfo['USR_UID'] //$username
), $userInfo);
}