Skip to content

Commit

Permalink
Fix logout with a token
Browse files Browse the repository at this point in the history
  • Loading branch information
mducharme committed Aug 8, 2019
1 parent 924412f commit 7ab9abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Charcoal/User/AuthToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public function getUserIdFromToken($ident, $token)
}

$this->load($ident);
if (!$this->ident()) {
if (!$this['ident']) {
$this->logger->warning(sprintf(
'Auth token not found: "%s"',
$ident
Expand Down

0 comments on commit 7ab9abe

Please sign in to comment.