Skip to content

Commit

Permalink
feat(ui): set data-form-type to JellyfinLogin
Browse files Browse the repository at this point in the history
  • Loading branch information
s0up4200 committed Feb 28, 2025
1 parent 12b428a commit 41a7b49
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Login/JellyfinLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const JellyfinLogin: React.FC<JellyfinLoginProps> = ({
{({ errors, touched, isSubmitting, isValid }) => {
return (
<>
<Form>
<Form data-form-type="login">
<div>
<h2 className="mb-6 -mt-1 text-center text-lg font-bold text-neutral-200">
{intl.formatMessage(messages.loginwithapp, {
Expand All @@ -140,6 +140,7 @@ const JellyfinLogin: React.FC<JellyfinLoginProps> = ({
type="text"
placeholder={intl.formatMessage(messages.username)}
className="!bg-gray-700/80 placeholder:text-gray-400"
data-form-type="username"
/>
</div>
{errors.username && touched.username && (
Expand All @@ -157,6 +158,10 @@ const JellyfinLogin: React.FC<JellyfinLoginProps> = ({
autoComplete="current-password"
placeholder={intl.formatMessage(messages.password)}
className="!bg-gray-700/80 placeholder:text-gray-400"
data-form-type="password"
data-1pignore="false"
data-lpignore="false"
data-bwignore="false"
/>
</div>
<div className="flex">
Expand Down

0 comments on commit 41a7b49

Please sign in to comment.