You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!strpos($authRequest->getResponseText(), '/services/auth/')) {
175
-
if (stripos($authRequest->getResponseText(), 'Javascript enabled')) {
178
+
if (!strpos($authRequest, '/services/auth/')) {
179
+
if (stripos($authRequest, 'Javascript enabled')) {
176
180
$this->throwException('%s: Yahoo detected automatic sign in and try to restrict. Please run script get AUTH_TOKEN, AUTH_SECRET then call setAccessToken($token, $secret) before.', __METHOD__);
177
181
}
178
182
print_r($authRequest);
@@ -181,7 +185,7 @@ protected function doLogin()
181
185
}
182
186
183
187
// go to flickr to authorize
184
-
if (!$pos = strpos($text = $authRequest->getResponseText(), '/services/oauth/authorize.gne')) {
188
+
if (!$pos = strpos($text = $authRequest, '/services/oauth/authorize.gne')) {
0 commit comments