Merge branch 'MDL-79487-do-not-delete-refresh-token-master' of https://github.com/individual-it/moodle
This commit is contained in:
+1
-1
@@ -462,7 +462,7 @@ abstract class oauth2_client extends curl {
|
||||
public function is_logged_in() {
|
||||
// Has the token expired?
|
||||
if (isset($this->accesstoken->expires) && time() >= $this->accesstoken->expires) {
|
||||
$this->log_out();
|
||||
$this->store_token(null);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user