/** * Logout the user. * * @param bool $forceForever * * @return bool */ public function logout($forceForever = true) { $this->user = null; $this->invalidate($forceForever); JWTAuth::unsetToken(); }