FIX: Login, change in separator defined
This commit is contained in:
@ -114,6 +114,10 @@ class Login
|
||||
return;
|
||||
}
|
||||
$cookie = $_COOKIE[$this->cookie_name];
|
||||
if (!str_contains($cookie, $this->cookie_separator)) {
|
||||
$this->removeCookie();
|
||||
return;
|
||||
}
|
||||
list($this->selector, $this->token) = explode($this->cookie_separator, $cookie);
|
||||
}
|
||||
protected function saveCookie(string $selector, string $token, DateTimeInterface $expires): void
|
||||
|
Reference in New Issue
Block a user