Merge pull request #4757 from gepd/null-failure
bug fix: failure status shoudn't be nulled
This commit is contained in:
commit
991d8749b2
1 changed files with 0 additions and 2 deletions
|
@ -426,8 +426,6 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect')
|
|||
throw new Exception(Exception::PROJECT_INVALID_FAILURE_URL);
|
||||
}
|
||||
|
||||
$state['failure'] = null;
|
||||
|
||||
$accessToken = $oauth2->getAccessToken($code);
|
||||
$refreshToken = $oauth2->getRefreshToken($code);
|
||||
$accessTokenExpiry = $oauth2->getAccessTokenExpiry($code);
|
||||
|
|
Loading…
Reference in a new issue