Fix variable name when creating an "invalid token" exception #6

Merged
elieux merged 1 commits from master-fix1 into master 2015-07-16 14:04:50 +00:00

View File

@ -243,7 +243,7 @@ class Server
$token = $this->data_store->lookupToken($consumer, $token_type, $token_key);
if (!$token) {
throw new OAuthException("Invalid $token_type token: $token_field");
throw new OAuthException("Invalid $token_type token: $token_key");
}
return $token;
}