Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add TODO

Kiran Kea9e589c421d
diff --git a/apps/web/lib/auth/options.ts b/apps/web/lib/auth/options.ts
index 314c77e379..78cba98ded 100644
--- a/apps/web/lib/auth/options.ts
+++ b/apps/web/lib/auth/options.ts
@@ -191,6 +191,9 @@ export const authOptions: NextAuthOptions = {
throw new Error("no-credentials");
}
+ // TODO:
+ // Rate limit login attempts by IP address or email
+
const user = await prisma.user.findUnique({
where: { email },
select: {