[bugfix]: allow Jellyfin to have empty password on edit

This commit is contained in:
Kendall Garner 2024-01-26 22:54:50 -08:00
parent bc7f4a5722
commit 0cdfc64023
No known key found for this signature in database
GPG key ID: 18D2767419676C87

View file

@ -152,11 +152,11 @@ export const EditServerForm = ({ isUpdate, password, server, onCancel }: EditSer
/> />
<PasswordInput <PasswordInput
data-autofocus data-autofocus
required
label={t('form.addServer.input', { label={t('form.addServer.input', {
context: 'password', context: 'password',
postProcess: 'titleCase', postProcess: 'titleCase',
})} })}
required={isNavidrome || isSubsonic}
{...form.getInputProps('password')} {...form.getInputProps('password')}
/> />
{localSettings && isNavidrome && ( {localSettings && isNavidrome && (