mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Merge pull request #207 from thvranken/develop
Session ID returned correctly
This commit is contained in:
commit
67587e450b
@ -87,7 +87,7 @@ class SessionStorage extends Adapter implements SessionInterface
|
|||||||
public function create($ownerType, $ownerId, $clientId, $clientRedirectUri = null)
|
public function create($ownerType, $ownerId, $clientId, $clientRedirectUri = null)
|
||||||
{
|
{
|
||||||
$id = Capsule::table('oauth_sessions')
|
$id = Capsule::table('oauth_sessions')
|
||||||
->insert([
|
->insertGetId([
|
||||||
'owner_type' => $ownerType,
|
'owner_type' => $ownerType,
|
||||||
'owner_id' => $ownerId,
|
'owner_id' => $ownerId,
|
||||||
'client_id' => $clientId
|
'client_id' => $clientId
|
||||||
|
Loading…
Reference in New Issue
Block a user