New: Show all options when authentication modal is open
This commit is contained in:
parent
7f5769ab70
commit
c7d6c0f452
|
@ -81,52 +81,40 @@ function AuthenticationRequiredModalContent(props) {
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
{
|
<FormGroup>
|
||||||
authenticationEnabled ?
|
<FormLabel>Authentication Required</FormLabel>
|
||||||
<FormGroup>
|
|
||||||
<FormLabel>Authentication Required</FormLabel>
|
|
||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.SELECT}
|
type={inputTypes.SELECT}
|
||||||
name="authenticationRequired"
|
name="authenticationRequired"
|
||||||
values={authenticationRequiredOptions}
|
values={authenticationRequiredOptions}
|
||||||
helpText="Change which requests authentication is required for. Do not change unless you understand the risks."
|
helpText="Change which requests authentication is required for. Do not change unless you understand the risks."
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
{...authenticationRequired}
|
{...authenticationRequired}
|
||||||
/>
|
/>
|
||||||
</FormGroup> :
|
</FormGroup>
|
||||||
null
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
<FormGroup>
|
||||||
authenticationEnabled ?
|
<FormLabel>Username</FormLabel>
|
||||||
<FormGroup>
|
|
||||||
<FormLabel>Username</FormLabel>
|
|
||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.TEXT}
|
type={inputTypes.TEXT}
|
||||||
name="username"
|
name="username"
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
{...username}
|
{...username}
|
||||||
/>
|
/>
|
||||||
</FormGroup> :
|
</FormGroup>
|
||||||
null
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
<FormGroup>
|
||||||
authenticationEnabled ?
|
<FormLabel>Password</FormLabel>
|
||||||
<FormGroup>
|
|
||||||
<FormLabel>Password</FormLabel>
|
|
||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.PASSWORD}
|
type={inputTypes.PASSWORD}
|
||||||
name="password"
|
name="password"
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
{...password}
|
{...password}
|
||||||
/>
|
/>
|
||||||
</FormGroup> :
|
</FormGroup>
|
||||||
null
|
|
||||||
}
|
|
||||||
</div> :
|
</div> :
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue