Merge pull request #6 from elieux/master-fix1

Fix variable name when creating an "invalid token" exception
This commit is contained in:
Jacob Kiers 2015-07-16 16:04:50 +02:00
commit 999a007b3b

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;
}