mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 05:47:22 -04:00
Fix user check in Authentication Required for newer installs
This commit is contained in:
parent
80da5ce165
commit
bfecf35a8b
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ function AuthenticationRequiredModalContent(props) {
|
|||
type={inputTypes.TEXT}
|
||||
name="username"
|
||||
onChange={onInputChange}
|
||||
helpTextWarning={username.value === '' ? translate('AuthenticationRequiredUsernameHelpTextWarning') : undefined}
|
||||
helpTextWarning={username === undefined || username.value === '' ? translate('AuthenticationRequiredUsernameHelpTextWarning') : undefined}
|
||||
{...username}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
@ -116,7 +116,7 @@ function AuthenticationRequiredModalContent(props) {
|
|||
type={inputTypes.PASSWORD}
|
||||
name="password"
|
||||
onChange={onInputChange}
|
||||
helpTextWarning={password.value === '' ? translate('AuthenticationRequiredPasswordHelpTextWarning') : undefined}
|
||||
helpTextWarning={password === undefined || password.value === '' ? translate('AuthenticationRequiredPasswordHelpTextWarning') : undefined}
|
||||
{...password}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue