MDL-70430 oauth2: Fix storing of the new refresh token
commit16d8706e2e681d6606ce891d6baee61c68d798f7
authorDavid Mudrák <david@moodle.com>
Tue, 8 Dec 2020 10:20:14 +0000 (8 11:20 +0100)
committerDavid Mudrák <david@moodle.com>
Tue, 8 Dec 2020 10:26:23 +0000 (8 11:26 +0100)
tree0ee42cf2bd7f0784e1a7a3b4f17441463357cd91
parentf34b44674f97262e60dce6b4f50a878336866bd2
MDL-70430 oauth2: Fix storing of the new refresh token

There was a typo - missing underscore. As a result, the new refresh
token was never updated in the database. Depending on the issuer and
whether or when theyu invalidate issued refresh tokens, this might or
might not make the token refresh stop working.
lib/classes/oauth2/client.php