diff options
Diffstat (limited to 'lib/oauth.php')
| -rw-r--r-- | lib/oauth.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/oauth.php b/lib/oauth.php index d6c72e8..6900c20 100644 --- a/lib/oauth.php +++ b/lib/oauth.php @@ -98,6 +98,11 @@ class OAuth public function accessTokenHandler(\OAuthProvider $provider) { + if ($provider->token == '') { + //conboy sends empty token when not authed yet + return OAUTH_PARAMETER_ABSENT; + } + $token = $this->tokens->load('access', $provider->token); $provider->token_secret = $token->secret; return OAUTH_OK; |
