mirror of
https://github.com/penpot/penpot.git
synced 2026-05-02 22:58:35 +00:00
Set invitations expiration to 7 days
This commit is contained in:
parent
ec884787f1
commit
0416988913
@ -400,7 +400,7 @@
|
||||
(defn- create-team-invitation
|
||||
[{:keys [conn tokens team profile role email] :as cfg}]
|
||||
(let [member (profile/retrieve-profile-data-by-email conn email)
|
||||
token-exp (dt/in-future "48h")
|
||||
token-exp (dt/in-future "168h") ;; 7 days
|
||||
itoken (tokens :generate
|
||||
{:iss :team-invitation
|
||||
:exp token-exp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user