Commit 1358e504 authored by Jens Segers's avatar Jens Segers

See #1148

parent 4cef65d5
......@@ -12,7 +12,7 @@ class DatabaseTokenRepository extends BaseDatabaseTokenRepository
*/
protected function getPayload($email, $token)
{
return ['email' => $email, 'token' => $token, 'created_at' => new UTCDateTime(null)];
return ['email' => $email, 'token' => $token, 'created_at' => new UTCDateTime(time() * 1000)];
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment