1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00

bug fix: failure status shoudn't be nulled

This commit is contained in:
gepd 2022-11-22 17:05:04 -03:00 committed by GitHub
parent a80da7526d
commit 64ba896738
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);