Skip to content

Commit 9e7377f

Browse files
committed
update
1 parent e1c853f commit 9e7377f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Service/Manager.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ protected function pushBlacklist(Token $token): void
8282

8383
$now = time();
8484
$exp = $token->claims()->get('exp');
85+
$ttl = $this->app->get('jwt.token')->getConfig()->getRefreshTTL();
86+
$exp = $exp->modify("+{$ttl} sec");
8587
$ttl = $exp->getTimestamp() - $now;
8688
$tag = $store . '-' . $this->config->getBlacklist();
8789
$key = $this->makeKey($store, $this->config->getBlacklist(), $jti, $token);

0 commit comments

Comments
 (0)