diff --git a/src/app/(auth)/login/page.tsx b/src/app/(auth)/login/page.tsx index d8f7803..8acab88 100644 --- a/src/app/(auth)/login/page.tsx +++ b/src/app/(auth)/login/page.tsx @@ -47,6 +47,7 @@ export default function LoginPage(props: LoginPageProps) { value={password} onChange={(e) => setPassword(e.target.value)} required + autoComplete="current-password" />
diff --git a/src/app/(auth)/register/page.tsx b/src/app/(auth)/register/page.tsx index 34ef43c..fb7a1fd 100644 --- a/src/app/(auth)/register/page.tsx +++ b/src/app/(auth)/register/page.tsx @@ -43,6 +43,7 @@ export default function RegisterPage() { value={password} onChange={(e) => setPassword(e.target.value)} required + autoComplete="current-password" />
diff --git a/src/app/api/[[...route]]/route.ts b/src/app/api/[[...route]]/route.ts index 7a7101a..a3c5fea 100644 --- a/src/app/api/[[...route]]/route.ts +++ b/src/app/api/[[...route]]/route.ts @@ -2,11 +2,6 @@ import { authRoute } from "@/server/auth"; import { userRoute } from "@/server/user"; import { Elysia } from "elysia"; -/** - * Force dynamic import for RPC clients - */ -export const dynamic = "force-dynamic"; - /** * Main API router * Combines auth and user routes under the '/api' prefix