Commit 2a698951 authored by Eloy Lafuente (stronk7)'s avatar Eloy Lafuente (stronk7)

Merge branch 'MDL-70430-master-oauth2refreshtoken' of git://

parents 92e59b66 16d8706e
......@@ -473,7 +473,7 @@ class client extends \oauth2_client {
// Store the access token and, if provided by the server, the new refresh token.
if (isset($receivedtokens['refreshtoken'])) {
if (isset($receivedtokens['refresh_token'])) {
$systemaccount->set('refreshtoken', $receivedtokens['refresh_token']->token);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment