diff --git a/src/core/Directus/Authentication/Provider.php b/src/core/Directus/Authentication/Provider.php index 2be8bbffef..ca9a58c680 100644 --- a/src/core/Directus/Authentication/Provider.php +++ b/src/core/Directus/Authentication/Provider.php @@ -71,7 +71,7 @@ public function __construct(UserProviderInterface $userProvider, array $options throw new Exception('auth: secret key is required and it must be a string'); } - $ttl = ArrayUtils::get($options, 'ttl', 5); + $ttl = ArrayUtils::get($options, 'ttl', 20); if (!is_numeric($ttl)) { throw new Exception('ttl must be a number'); }