You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protected function determineTagSupport()
{
// Laravel >= 5.1.28
if (method_exists($this->cache, 'tags') || $this->cache instanceof PsrCacheInterface) {
try {
// Attempt the repository tags command, which throws exceptions when unsupported
$this->cache->tags($this->tag);
$this->supportsTags = true;
} catch (\BadMethodCallException $ex) {
$this->supportsTags = false;
}
} else {
// Laravel <= 5.1.27
if (method_exists($this->cache, 'getStore')) {
// Check for the tags function directly on the store
$this->supportsTags = method_exists($this->cache->getStore(), 'tags');
} else {
// Must be using custom cache repository without getStore(), and all bets are off,
// or we are mocking the cache contract (in testing), which will not create a getStore method
$this->supportsTags = false;
}
}
}
The text was updated successfully, but these errors were encountered:
Subject of the issue
Describe your issue here.
Your environment:
Steps to reproduce
Call logout.
Expected behaviour
Logout successful
Actual behaviour
Logout failed trying to add token to blacklist.
stacktrace
Laravel got rid of redis tags, so logout failed at Blacklist.php 77 line:
stacktrace
Seems function
determineTags
is not valid:The text was updated successfully, but these errors were encountered: