mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +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)
|
||||
{
|
||||
$id = Capsule::table('oauth_sessions')
|
||||
->insert([
|
||||
->insertGetId([
|
||||
'owner_type' => $ownerType,
|
||||
'owner_id' => $ownerId,
|
||||
'client_id' => $clientId
|
||||
|
Loading…
Reference in New Issue
Block a user