remove the unqualified "OAuth" namespace from the project. We need to reference either OAuth1 or OAuth2.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user