From aff9a2a291df1a0d5d7f7b301c2d6204e1efb223 Mon Sep 17 00:00:00 2001 From: gearnode Date: Fri, 21 Mar 2025 16:53:30 +0100 Subject: [PATCH] Fix password manager take reset password token as username close #59 Signed-off-by: gearnode --- .../console/src/pages/authentication/ConfirmInvitationPage.tsx | 3 +++ apps/console/src/pages/authentication/ResetPasswordPage.tsx | 3 +++ 2 files changed, 6 insertions(+) diff --git a/apps/console/src/pages/authentication/ConfirmInvitationPage.tsx b/apps/console/src/pages/authentication/ConfirmInvitationPage.tsx index 39b843a58..a57156890 100644 --- a/apps/console/src/pages/authentication/ConfirmInvitationPage.tsx +++ b/apps/console/src/pages/authentication/ConfirmInvitationPage.tsx @@ -149,6 +149,7 @@ export default function ConfirmInvitationPage() { placeholder="Enter your invitation token" disabled={isLoading} required + autoComplete="off" />

The token has been automatically filled from the URL if @@ -166,6 +167,7 @@ export default function ConfirmInvitationPage() { placeholder="Create a password" disabled={isLoading} required + autoComplete="new-password" /> @@ -179,6 +181,7 @@ export default function ConfirmInvitationPage() { placeholder="Confirm your password" disabled={isLoading} required + autoComplete="new-password" /> diff --git a/apps/console/src/pages/authentication/ResetPasswordPage.tsx b/apps/console/src/pages/authentication/ResetPasswordPage.tsx index 605b47bf9..67fbf3370 100644 --- a/apps/console/src/pages/authentication/ResetPasswordPage.tsx +++ b/apps/console/src/pages/authentication/ResetPasswordPage.tsx @@ -148,6 +148,7 @@ export default function ResetPasswordPage() { placeholder="Enter your reset token" disabled={isLoading} required + autoComplete="off" />

The token has been automatically filled from the URL if @@ -165,6 +166,7 @@ export default function ResetPasswordPage() { placeholder="Enter new password" disabled={isLoading} required + autoComplete="new-password" /> @@ -178,6 +180,7 @@ export default function ResetPasswordPage() { placeholder="Confirm your new password" disabled={isLoading} required + autoComplete="new-password" />