mirror of
https://github.com/anikeen-com/id.git
synced 2026-03-14 14:16:31 +00:00
refactored code
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com>
This commit is contained in:
@@ -25,7 +25,7 @@ class ApiTokenCookieFactory
|
||||
{
|
||||
$config = $this->config->get('session');
|
||||
|
||||
$expiration = Carbon::now()->addMinutes($config['lifetime']);
|
||||
$expiration = Carbon::now()->addMinutes((int)$config['lifetime']);
|
||||
|
||||
return new Cookie(
|
||||
AnikeenId::cookie(),
|
||||
|
||||
Reference in New Issue
Block a user