From 781bf7324bca1472bdafed7bb9ac7cf560601e80 Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Mon, 12 Jan 2026 16:09:55 +0530 Subject: [PATCH] [VPAT-53] chore: disable autocomplete on sensitive input fields #5389 --- apps/admin/app/(all)/(home)/sign-in-form.tsx | 4 ++-- apps/admin/core/components/instance/setup-form.tsx | 5 +++-- .../core/components/account/auth-forms/email.tsx | 2 +- .../core/components/account/auth-forms/password.tsx | 3 ++- .../components/account/auth-forms/unique-code.tsx | 2 ++ .../(settings)/settings/account/security/page.tsx | 3 +++ apps/web/app/(all)/profile/security/page.tsx | 3 +++ .../web/core/components/account/auth-forms/email.tsx | 2 +- .../account/auth-forms/forgot-password.tsx | 2 +- .../core/components/account/auth-forms/password.tsx | 3 ++- .../components/account/auth-forms/reset-password.tsx | 3 ++- .../components/account/auth-forms/set-password.tsx | 5 +++-- .../components/account/auth-forms/unique-code.tsx | 3 ++- .../components/core/modals/change-email-modal.tsx | 2 ++ .../web/core/components/onboarding/profile-setup.tsx | 3 ++- .../ui/src/auth-form/auth-confirm-password-input.tsx | 12 ++++-------- packages/ui/src/auth-form/auth-input.tsx | 9 +++++---- packages/ui/src/auth-form/auth-password-input.tsx | 9 ++++----- packages/ui/src/auth-form/index.ts | 6 +++--- packages/ui/src/form-fields/input.tsx | 1 - .../ui/src/form-fields/password/password-input.tsx | 11 +++++++---- packages/ui/src/form-fields/pill-input.tsx | 1 - 22 files changed, 54 insertions(+), 40 deletions(-) diff --git a/apps/admin/app/(all)/(home)/sign-in-form.tsx b/apps/admin/app/(all)/(home)/sign-in-form.tsx index b0160e288e..a58301ba98 100644 --- a/apps/admin/app/(all)/(home)/sign-in-form.tsx +++ b/apps/admin/app/(all)/(home)/sign-in-form.tsx @@ -153,7 +153,7 @@ export function InstanceSignInForm() { placeholder="name@company.com" value={formData.email} onChange={(e) => handleFormChange("email", e.target.value)} - autoComplete="on" + autoComplete="off" autoFocus /> @@ -172,7 +172,7 @@ export function InstanceSignInForm() { placeholder="Enter your password" value={formData.password} onChange={(e) => handleFormChange("password", e.target.value)} - autoComplete="on" + autoComplete="off" /> {showPassword ? (