]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/accesstoken.php
checks for user and sub in validate and better error check in remote save
[quix0rs-gnu-social.git] / actions / accesstoken.php
index 6bb0e1561b3d3bfd3aee8159facd50f072a3794c..4f683ba24f65ab0491783c3c0040d115e3d1005a 100644 (file)
@@ -24,7 +24,7 @@ class AccesstokenAction extends Action {
                parent::handle($args);
                try {
                        $req = OAuthRequest::from_request();
-                       $server = common_oauth_server();
+                       $server = omb_oauth_server();
                        $token = $server->fetch_access_token($req);
                        print $token;
                } catch (OAuthException $e) {