mirror of
https://github.com/elyby/accounts.git
synced 2024-11-06 08:11:24 +05:30
Fixes ACCOUNTS-5VF
This commit is contained in:
parent
01028cf378
commit
9557064a97
@ -15,7 +15,7 @@ class RefreshTokenEntity extends \League\OAuth2\Server\Entity\RefreshTokenEntity
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSession(): SessionEntity {
|
public function getSession(): ?SessionEntity {
|
||||||
if ($this->session instanceof SessionEntity) {
|
if ($this->session instanceof SessionEntity) {
|
||||||
return $this->session;
|
return $this->session;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user