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.

Update route.ts

Kiran K7fbac64b4273
diff --git a/apps/web/app/api/auth/reset-password/route.ts b/apps/web/app/api/auth/reset-password/route.ts
index f0a588e5d1..d33b144c3f 100644
--- a/apps/web/app/api/auth/reset-password/route.ts
+++ b/apps/web/app/api/auth/reset-password/route.ts
@@ -60,7 +60,8 @@ export async function POST(req: NextRequest) {
if (isSamePassword) {
throw new DubApiError({
code: "unprocessable_entity",
- message: "New password must be different from your current password.",
+ message:
+ "Your new password cannot be the same as your current password.",
});
}
}