aboutsummaryrefslogtreecommitdiffstats
path: root/include/api_auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/api_auth.php')
-rw-r--r--include/api_auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api_auth.php b/include/api_auth.php
index e3697adb0..26a9df8d4 100644
--- a/include/api_auth.php
+++ b/include/api_auth.php
@@ -13,7 +13,7 @@ function api_login(&$a){
// login with oauth
try {
$oauth = new ZotOAuth1();
- $req = OAuthRequest::from_request();
+ $req = OAuth1Request::from_request();
list($consumer,$token) = $oauth->verify_request($req);