mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-27 15:30:24 +05:30
Session ID returned correctly
Session ID was not returned correctly after creating a session.
This commit is contained in:
parent
7d8989a8cd
commit
6ce190d33b
@ -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