feature/implement-separate-remember-me #15

Merged
bence merged 4 commits from feature/implement-separate-remember-me into master 2023-05-02 12:08:17 +02:00
Showing only changes of commit 6a35344210 - Show all commits

View File

@ -17,7 +17,7 @@ class Request implements IRequest
private array $headers;
private Session $session;
private ISession $session;
private ?IUser $user = null;
@ -26,14 +26,14 @@ class Request implements IRequest
array $get,
array $post,
array $headers,
array &$session,
ISession $session,
IUserRepository $userRepository)
{
$this->base = $base;
$this->get = $get;
$this->post = $post;
$this->headers = $headers;
$this->session = new Session($session);
$this->session = $session;
$userId = $this->session->get('userId');
if ($userId !== null) {