bug fix
This commit is contained in:
parent
2d24f5dad3
commit
4d88f7856b
|
@ -34,6 +34,7 @@ export default async function Index(
|
|||
const tenMinutesAgo = new Date(Date.now() - 10 * 60 * 1000);
|
||||
|
||||
// Remove user's who aren't verified for more than 10 minutes
|
||||
if (EmailProvider)
|
||||
await prisma.user.deleteMany({
|
||||
where: {
|
||||
createdAt: {
|
||||
|
|
Ŝarĝante…
Reference in New Issue