Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 8987b5c

Browse files
authored
Change login token TTL to 5m (#4668)
1 parent 57c55c0 commit 8987b5c

File tree

1 file changed

+1
-1
lines changed
  • infra/token-transfer-server/src/lib

1 file changed

+1
-1
lines changed

infra/token-transfer-server/src/lib/email.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ async function sendLoginToken(email) {
156156
email: user.email
157157
},
158158
encryptionSecret,
159-
{ expiresIn: '30m' }
159+
{ expiresIn: '5m' }
160160
)
161161

162162
const vars = {

0 commit comments

Comments
 (0)