We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cef65d commit 1358e50Copy full SHA for 1358e50
src/Jenssegers/Mongodb/Auth/DatabaseTokenRepository.php
@@ -12,7 +12,7 @@ class DatabaseTokenRepository extends BaseDatabaseTokenRepository
12
*/
13
protected function getPayload($email, $token)
14
{
15
- return ['email' => $email, 'token' => $token, 'created_at' => new UTCDateTime(null)];
+ return ['email' => $email, 'token' => $token, 'created_at' => new UTCDateTime(time() * 1000)];
16
}
17
18
/**
0 commit comments