Skip to content

Commit 02813b2

Browse files
committed
update
1 parent fa739f9 commit 02813b2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Service/JwtAuth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,6 @@ public function logout(string $token = null)
120120
}
121121

122122
$token = $service->parse($token);
123-
$this->app->get('jwt.manager')->pushBlacklist($token);
123+
$this->app->get('jwt.manager')->logout($token);
124124
}
125125
}

src/Service/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected function pushWhitelist(Token $token): void
7575
$this->setCache($tag, $key, $token, $ttl);
7676
}
7777

78-
public function pushBlacklist(Token $token): void
78+
protected function pushBlacklist(Token $token): void
7979
{
8080
$jti = $token->claims()->get('jti');
8181
$store = $token->claims()->get('store');

0 commit comments

Comments
 (0)