mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-22 14:33:30 -07:00
Fixed: User check in Authentication Required modal
(cherry picked from commit 33c52a70375a1b4ebbcc2cab9a19557f2cb933b2)
This commit is contained in:
parent
d41532b981
commit
c533859894
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?.value ? undefined : translate('AuthenticationRequiredUsernameHelpTextWarning')}
|
||||
{...username}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
@ -116,7 +116,7 @@ function AuthenticationRequiredModalContent(props) {
|
|||
type={inputTypes.PASSWORD}
|
||||
name="password"
|
||||
onChange={onInputChange}
|
||||
helpTextWarning={password.value === '' ? translate('AuthenticationRequiredPasswordHelpTextWarning') : undefined}
|
||||
helpTextWarning={password?.value ? undefined : translate('AuthenticationRequiredPasswordHelpTextWarning')}
|
||||
{...password}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue