From e995dc4a26935d5f76b179871308787ca073fea1 Mon Sep 17 00:00:00 2001 From: s0up4200 Date: Thu, 27 Feb 2025 21:11:40 +0100 Subject: [PATCH] feat(ui): prevent password manager autofill on Jellyfin setup form --- src/components/Login/LocalLogin.tsx | 3 --- src/components/Setup/JellyfinSetup.tsx | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/components/Login/LocalLogin.tsx b/src/components/Login/LocalLogin.tsx index e1ed8244f..870841bf7 100644 --- a/src/components/Login/LocalLogin.tsx +++ b/src/components/Login/LocalLogin.tsx @@ -117,9 +117,6 @@ const LocalLogin = ({ revalidate }: LocalLoginProps) => { data-lpignore="false" data-bwignore="false" className="!bg-gray-700/80 placeholder:text-gray-400" - data-1pignore="false" - data-lpignore="false" - data-bwignore="false" />
diff --git a/src/components/Setup/JellyfinSetup.tsx b/src/components/Setup/JellyfinSetup.tsx index 0a19bffa0..390c9c142 100644 --- a/src/components/Setup/JellyfinSetup.tsx +++ b/src/components/Setup/JellyfinSetup.tsx @@ -198,6 +198,10 @@ function JellyfinSetup({ messages.hostname, mediaServerFormatValues )} + autoComplete="off" + data-1pignore="true" + data-lpignore="true" + data-bwignore="true" />
{errors.hostname && touched.hostname && ( @@ -282,6 +286,10 @@ function JellyfinSetup({ name="email" type="text" placeholder={intl.formatMessage(messages.email)} + autoComplete="off" + data-1pignore="true" + data-lpignore="true" + data-bwignore="true" /> {errors.email && touched.email && ( @@ -298,6 +306,10 @@ function JellyfinSetup({ name="username" type="text" placeholder={intl.formatMessage(messages.username)} + autoComplete="off" + data-1pignore="true" + data-lpignore="true" + data-bwignore="true" /> {errors.username && touched.username && ( @@ -314,6 +326,10 @@ function JellyfinSetup({ name="password" type="password" placeholder={intl.formatMessage(messages.password)} + autoComplete="off" + data-1pignore="true" + data-lpignore="true" + data-bwignore="true" /> {errors.password && touched.password && (