Skip to content

Commit 3191ed6

Browse files
author
Ian Barber
committed
2 parents 415ccee + e1a2f23 commit 3191ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Google/Auth/OAuth2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public function revokeToken($token = null)
370370
*/
371371
public function isAccessTokenExpired()
372372
{
373-
if (!$this->token) {
373+
if (!$this->token || !isset($this->token['created'])) {
374374
return true;
375375
}
376376

0 commit comments

Comments
 (0)