Skip to content

Commit 90bb8fc

Browse files
committed
Fix error message
1 parent dfb25d7 commit 90bb8fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adapter/TokenBearer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function terminate(AuthenticationResultInterface $authenticated_with)
9292
if ($authenticated_with instanceof TokenInterface) {
9393
$this->tokens_repository->terminateToken($authenticated_with);
9494
} else {
95-
throw new InvalidArgumentException('Instance is not a browser session');
95+
throw new InvalidArgumentException('Instance is not a token');
9696
}
9797
}
9898
}

0 commit comments

Comments
 (0)