Fix over-zealous un-underscoring in userauthorization
This commit is contained in:
parent
120ed87e72
commit
1132e66f84
@ -577,10 +577,10 @@ class UserauthorizationAction extends Action
|
|||||||
{
|
{
|
||||||
$signature_method = $this->getSignatureMethod($req);
|
$signature_method = $this->getSignatureMethod($req);
|
||||||
$signature = $req->get_parameter('oauth_signature');
|
$signature = $req->get_parameter('oauth_signature');
|
||||||
$valid_sig = $signature_method->checkSignature($req,
|
$valid_sig = $signature_method->check_signature($req,
|
||||||
$consumer,
|
$consumer,
|
||||||
$token,
|
$token,
|
||||||
$signature);
|
$signature);
|
||||||
if (!$valid_sig) {
|
if (!$valid_sig) {
|
||||||
throw new OAuthException("Invalid signature");
|
throw new OAuthException("Invalid signature");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user