summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/userauthorization.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/userauthorization.php b/actions/userauthorization.php
index 11c74eeb4..ed62f640c 100644
--- a/actions/userauthorization.php
+++ b/actions/userauthorization.php
@@ -577,10 +577,10 @@ class UserauthorizationAction extends Action
{
$signature_method = $this->getSignatureMethod($req);
$signature = $req->get_parameter('oauth_signature');
- $valid_sig = $signature_method->checkSignature($req,
- $consumer,
- $token,
- $signature);
+ $valid_sig = $signature_method->check_signature($req,
+ $consumer,
+ $token,
+ $signature);
if (!$valid_sig) {
throw new OAuthException("Invalid signature");
}