Web: Login: disable with error
This commit is contained in:
parent
5585a28f0b
commit
79e1b0e082
@ -500,7 +500,7 @@ const Form = (props) => {
|
||||
: t("Common:LoginButton")
|
||||
}
|
||||
tabIndex={1}
|
||||
isDisabled={isLoading}
|
||||
isDisabled={isLoading || !identifierValid || !passwordValid}
|
||||
isLoading={isLoading}
|
||||
onClick={onSubmit}
|
||||
/>
|
||||
|
@ -359,7 +359,7 @@ const Form = (props) => {
|
||||
scale={true}
|
||||
isAutoFocussed={true}
|
||||
tabIndex={1}
|
||||
isDisabled={isLoading}
|
||||
isDisabled={isLoading || !identifierValid}
|
||||
autoComplete="username"
|
||||
onChange={onChangeLogin}
|
||||
onValidateInput={onValidateEmail}
|
||||
|
Loading…
Reference in New Issue
Block a user