X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Frequesttoken.php;h=8d1e3f004342ea399a9a35efb80386b57063bc58;hb=aec6456c9181ea97e11eb74c5eaf868c2406bebb;hp=fb577fdd57bfea0902b4bab9b822ffa591a0e35f;hpb=0b3bd63a30fa9d47e5bf7e63e58b74ceffe36049;p=quix0rs-gnu-social.git diff --git a/actions/requesttoken.php b/actions/requesttoken.php index fb577fdd57..8d1e3f0043 100644 --- a/actions/requesttoken.php +++ b/actions/requesttoken.php @@ -13,7 +13,7 @@ * @link http://laconi.ca/ * * Laconica - a distributed open-source microblogging tool - * Copyright (C) 2008, Controlez-Vous, Inc. + * Copyright (C) 2008, 2009, Control Yourself, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -69,7 +69,7 @@ class RequesttokenAction extends Action parent::handle($args); try { common_remove_magic_from_request(); - $req = OAuthRequest::from_request(); + $req = OAuthRequest::from_request('POST', common_local_url('requesttoken')); $server = omb_oauth_server(); $token = $server->fetch_request_token($req); print $token;