1
0
Fork 0
mirror of synced 2024-06-10 23:04:45 +12:00

Merge pull request #4757 from gepd/null-failure

bug fix: failure status shoudn't be nulled
This commit is contained in:
Torsten Dittmann 2022-11-23 18:51:02 +01:00 committed by GitHub
commit 991d8749b2
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);