0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00

📎 Minor change on session internal timestamp handling

This commit is contained in:
Andrey Antukh 2022-08-01 13:10:01 +02:00
parent 01306841a9
commit 91baae3580

View file

@ -47,11 +47,11 @@
(px/with-dispatch executor
(let [profile-id (:profile-id data)
user-agent (:user-agent data)
token (tokens :generate {:iss "authentication"
:iat (dt/now)
:uid profile-id})
now (dt/now)
token (tokens :generate {:iss "authentication"
:iat now
:uid profile-id})
params {:user-agent user-agent
:profile-id profile-id
:created-at now