mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Session ID returned correctly
Session ID was not returned correctly after creating a session.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user