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.

small fixes

Kiran K28a42bad85c0
diff --git a/apps/web/app/app.dub.co/(auth)/register/signup-oauth.tsx b/apps/web/app/app.dub.co/(auth)/register/signup-oauth.tsx
index 91743d9db9..1a255f84b2 100644
--- a/apps/web/app/app.dub.co/(auth)/register/signup-oauth.tsx
+++ b/apps/web/app/app.dub.co/(auth)/register/signup-oauth.tsx
@@ -2,7 +2,6 @@
import { Button, Github, Google } from "@dub/ui";
import { signIn } from "next-auth/react";
-import Link from "next/link";
import { useSearchParams } from "next/navigation";
import { useEffect, useState } from "react";
@@ -46,15 +45,6 @@ export default function SignupOAuth() {
loading={clickedGithub}
icon={<Github className="h-4 w-4" />}
/>
- <p className="text-center text-sm text-gray-500">
- Already have an account?{" "}
- <Link
- href="/login"
- className="font-semibold text-gray-500 transition-colors hover:text-black"
- >
- Sign in
- </Link>
- </p>
</>
);
}
diff --git a/apps/web/lib/actions/create-user-account.ts b/apps/web/lib/actions/create-user-account.ts
index d32c7998fa..c9ea8fc2b7 100644
--- a/apps/web/lib/actions/create-user-account.ts
+++ b/apps/web/lib/actions/create-user-account.ts
@@ -23,7 +23,7 @@ export const createUserAccountAction = actionClient
.action(async ({ parsedInput, ctx }) => {
const { email, password } = parsedInput;
- const { success } = await ratelimit(1, "1 m").limit(`signup:${getIP()}`);
+ const { success } = await ratelimit(2, "1 m").limit(`signup:${getIP()}`);
if (!success) {
throw new Error("Too many requests. Please try again later.");