From af26d705cd1cfc455d7bf8bd66df6c982f78ad8d Mon Sep 17 00:00:00 2001 From: Stavros Date: Wed, 16 Jul 2025 01:29:07 +0300 Subject: [PATCH] fix: add auto complete information to auth forms --- frontend/src/components/auth/login-form.tsx | 2 ++ frontend/src/components/auth/totp-form.tsx | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/auth/login-form.tsx b/frontend/src/components/auth/login-form.tsx index e788262..2a9c1cd 100644 --- a/frontend/src/components/auth/login-form.tsx +++ b/frontend/src/components/auth/login-form.tsx @@ -45,6 +45,7 @@ export const LoginForm = (props: Props) => { @@ -64,6 +65,7 @@ export const LoginForm = (props: Props) => { placeholder={t("loginPassword")} type="password" disabled={loading} + autoComplete="current-password" {...field} /> diff --git a/frontend/src/components/auth/totp-form.tsx b/frontend/src/components/auth/totp-form.tsx index ded33ad..9a8729b 100644 --- a/frontend/src/components/auth/totp-form.tsx +++ b/frontend/src/components/auth/totp-form.tsx @@ -39,7 +39,12 @@ export const TotpForm = (props: Props) => { render={({ field }) => ( - +