We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 525efa9 + 7e51087 commit 5359d7cCopy full SHA for 5359d7c
CHANGELOG.md
@@ -1,3 +1,7 @@
1
+## 1.5.4
2
+
3
+* fixed jwt authentication
4
5
## 1.5.3
6
7
* removed query id in prepare statement
src/Jwt/Jwt.php
@@ -54,7 +54,7 @@ public function issuedBy($value)
54
*/
55
public function issuedAt(DateTimeInterface $value)
56
{
57
- $this->payload['iat'] = $value->format('U');
+ $this->payload['iat'] = $value->getTimestamp();
58
return $this;
59
}
60
@@ -64,7 +64,7 @@ public function issuedAt(DateTimeInterface $value)
64
65
public function expiresAt(DateTimeInterface $value)
66
67
- $this->payload['exp'] = $value->format('U');
+ $this->payload['exp'] = $value->getTimestamp();
68
69
70
0 commit comments