increased the registration link expiry to 48 hours

This commit is contained in:
2025-04-03 18:18:29 +05:30
parent 329f655081
commit ec611de87e

View File

@@ -18,7 +18,7 @@ export async function createUser(
createdBy: user.userId,
token: {
value: token,
expiry: new Date(Date.now() + 3600 * 6 * 1000),
expiry: new Date(Date.now() + 3600 * 48 * 1000),
},
status: "invited",
...input,