Merge pull request #4012 from zeroadam/OAuth-quickfix
Move OAuth to src: remove index
This commit is contained in:
commit
88891d9ae1
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class FKOAuthDataStore extends OAuthDataStore
|
|||
$r = dba::select('tokens', ['id', 'secret'], ['client_id' => $consumer->key, 'id' => $nonce, 'expires' => $timestamp], ['limit' => 1]);
|
||||
|
||||
if (DBM::is_result($r)) {
|
||||
return new OAuthToken($r[0]['id'], $r[0]['secret']);
|
||||
return new OAuthToken($r['id'], $r['secret']);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue