]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/requesttoken.php
Update copyright dates in files modified in 2009
[quix0rs-gnu-social.git] / actions / requesttoken.php
index fb577fdd57bfea0902b4bab9b822ffa591a0e35f..8d1e3f004342ea399a9a35efb80386b57063bc58 100644 (file)
@@ -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;