Merge pull request #207 from thvranken/develop

Session ID returned correctly
This commit is contained in:
Alex Bilbie
2014-09-06 18:44:04 +01:00

View File

@@ -87,7 +87,7 @@ class SessionStorage extends Adapter implements SessionInterface
public function create($ownerType, $ownerId, $clientId, $clientRedirectUri = null)
{
$id = Capsule::table('oauth_sessions')
->insert([
->insertGetId([
'owner_type' => $ownerType,
'owner_id' => $ownerId,
'client_id' => $clientId