mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 10:21:38 +02:00
✨ Increase default team invitation token expiration.
This commit is contained in:
parent
2138530f3e
commit
d2f8d4a306
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@
|
||||||
team (db/get-by-id conn :team team-id)
|
team (db/get-by-id conn :team team-id)
|
||||||
itoken (tokens :generate
|
itoken (tokens :generate
|
||||||
{:iss :team-invitation
|
{:iss :team-invitation
|
||||||
:exp (dt/in-future "6h")
|
:exp (dt/in-future "48h")
|
||||||
:profile-id (:id profile)
|
:profile-id (:id profile)
|
||||||
:role role
|
:role role
|
||||||
:team-id team-id
|
:team-id team-id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue