mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
Set invitations expiration to 7 days
This commit is contained in:
parent
ec884787f1
commit
0416988913
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue