Skip to content

Commit aa60b99

Browse files
authored
Update JWT.php
1 parent 916864e commit aa60b99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/JWT.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ public static function decode(
185185
if (isset($payload->exp) && ($timestamp - static::$leeway) >= $payload->exp) {
186186
$ex = new ExpiredException('Expired token');
187187
$ex->setPayload($payload);
188+
$ex->setTimestamp($timestamp);
188189
throw $ex;
189190
}
190191

0 commit comments

Comments
 (0)