]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
user/show API method needs to fall back to basic auth so that
authorZach Copley <zach@controlyourself.ca>
Tue, 7 Jul 2009 21:21:44 +0000 (14:21 -0700)
committerZach Copley <zach@controlyourself.ca>
Tue, 7 Jul 2009 21:21:44 +0000 (14:21 -0700)
verify_credentials works correctly.

actions/twitapiusers.php

index e9fcccbde115a9aff99c86be696b22a648bc7afd..de8326e3adcc481bb77272d4ba14965ea7c4c397 100644 (file)
@@ -43,7 +43,7 @@ class TwitapiusersAction extends TwitterapiAction
         if ($email) {
             $user = User::staticGet('email', $email);
         } else {
-            $user = $this->get_user($apidata['api_arg']);
+            $user = $this->get_user($apidata['api_arg'], $apidata);
         }
 
         if (empty($user)) {