mirror of
https://github.com/penpot/penpot.git
synced 2025-06-26 20:07:01 +02:00
📎 Minor change on session internal timestamp handling
This commit is contained in:
parent
01306841a9
commit
91baae3580
1 changed files with 4 additions and 4 deletions
|
@ -47,11 +47,11 @@
|
||||||
(px/with-dispatch executor
|
(px/with-dispatch executor
|
||||||
(let [profile-id (:profile-id data)
|
(let [profile-id (:profile-id data)
|
||||||
user-agent (:user-agent data)
|
user-agent (:user-agent data)
|
||||||
token (tokens :generate {:iss "authentication"
|
|
||||||
:iat (dt/now)
|
|
||||||
:uid profile-id})
|
|
||||||
|
|
||||||
now (dt/now)
|
now (dt/now)
|
||||||
|
|
||||||
|
token (tokens :generate {:iss "authentication"
|
||||||
|
:iat now
|
||||||
|
:uid profile-id})
|
||||||
params {:user-agent user-agent
|
params {:user-agent user-agent
|
||||||
:profile-id profile-id
|
:profile-id profile-id
|
||||||
:created-at now
|
:created-at now
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue