From 2fa94f59ba933027b94f2a28c8f38fd44509157e Mon Sep 17 00:00:00 2001 From: flamekiller22 Date: Thu, 11 Jan 2024 03:51:22 +0530 Subject: [PATCH] disable autocomplete --- app/(protected)/settings/page.tsx | 1 + components/auth/login-form.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/app/(protected)/settings/page.tsx b/app/(protected)/settings/page.tsx index 6142bc4..f457b5a 100644 --- a/app/(protected)/settings/page.tsx +++ b/app/(protected)/settings/page.tsx @@ -142,6 +142,7 @@ const SettingsPage = () => { placeholder="******" disabled={isPending} type="password" + autoComplete="off" /> diff --git a/components/auth/login-form.tsx b/components/auth/login-form.tsx index bde9d50..2bfe160 100644 --- a/components/auth/login-form.tsx +++ b/components/auth/login-form.tsx @@ -145,6 +145,7 @@ export const LoginForm = () => { {...field} disabled={isPending} placeholder="123456" + autoComplete="off" />