Increase default team invitation token expiration.

This commit is contained in:
Andrey Antukh 2021-05-06 17:26:08 +02:00 committed by Andrés Moya
parent 2138530f3e
commit d2f8d4a306

View file

@ -307,7 +307,7 @@
team (db/get-by-id conn :team team-id)
itoken (tokens :generate
{:iss :team-invitation
:exp (dt/in-future "6h")
:exp (dt/in-future "48h")
:profile-id (:id profile)
:role role
:team-id team-id