X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Frequesttoken.php;h=4a23215323fd767a28f412e106e575807470e637;hb=adeb19f1f7a82b17cee85ade1ac06fcd48e0d4cb;hp=92b4c423422f53c66cd1f97acbe466e1cc1427e4;hpb=90b4873a00b0d8b4249a323fc84a7460024f491b;p=quix0rs-gnu-social.git diff --git a/actions/requesttoken.php b/actions/requesttoken.php index 92b4c42342..4a23215323 100644 --- a/actions/requesttoken.php +++ b/actions/requesttoken.php @@ -22,11 +22,16 @@ if (!defined('LACONICA')) { exit(1); } require_once(INSTALLDIR.'/lib/omb.php'); class RequesttokenAction extends Action { + + function is_readonly() { + return false; + } + function handle($args) { parent::handle($args); try { $req = OAuthRequest::from_request(); - $server = common_oauth_server(); + $server = omb_oauth_server(); $token = $server->fetch_request_token($req); print $token; } catch (OAuthException $e) {