Fix variable name when creating an "invalid token" exception
This commit is contained in:
parent
4f352302a1
commit
3ef8e25bdb
@ -243,7 +243,7 @@ class Server
|
|||||||
|
|
||||||
$token = $this->data_store->lookupToken($consumer, $token_type, $token_key);
|
$token = $this->data_store->lookupToken($consumer, $token_type, $token_key);
|
||||||
if (!$token) {
|
if (!$token) {
|
||||||
throw new OAuthException("Invalid $token_type token: $token_field");
|
throw new OAuthException("Invalid $token_type token: $token_key");
|
||||||
}
|
}
|
||||||
return $token;
|
return $token;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user