]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix over-zealous un-underscoring in userauthorization
authorEvan Prodromou <evan@controlyourself.ca>
Fri, 23 Jan 2009 00:41:00 +0000 (01:41 +0100)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 23 Jan 2009 00:41:00 +0000 (01:41 +0100)
actions/userauthorization.php

index 11c74eeb45e48fcee6babcc950c71418dcf661bf..ed62f640cc909cbf83ef4bde59a75cbf27388fdf 100644 (file)
@@ -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");
         }