New: Show all options when authentication modal is open

This commit is contained in:
Mark McDowall 2022-12-05 23:00:27 -08:00
parent 7f5769ab70
commit c7d6c0f452
1 changed files with 29 additions and 41 deletions

View File

@ -81,8 +81,6 @@ function AuthenticationRequiredModalContent(props) {
/>
</FormGroup>
{
authenticationEnabled ?
<FormGroup>
<FormLabel>Authentication Required</FormLabel>
@ -94,12 +92,8 @@ function AuthenticationRequiredModalContent(props) {
onChange={onInputChange}
{...authenticationRequired}
/>
</FormGroup> :
null
}
</FormGroup>
{
authenticationEnabled ?
<FormGroup>
<FormLabel>Username</FormLabel>
@ -109,12 +103,8 @@ function AuthenticationRequiredModalContent(props) {
onChange={onInputChange}
{...username}
/>
</FormGroup> :
null
}
</FormGroup>
{
authenticationEnabled ?
<FormGroup>
<FormLabel>Password</FormLabel>
@ -124,9 +114,7 @@ function AuthenticationRequiredModalContent(props) {
onChange={onInputChange}
{...password}
/>
</FormGroup> :
null
}
</FormGroup>
</div> :
null
}