Skip to content
Snippets Groups Projects
Commit acebc517 authored by Io Daza-Dillon's avatar Io Daza-Dillon Committed by Io Daza-Dillon
Browse files

Disable log in button when username or password are empty

Change-Id: I86f3f5a10e0ad0768dd084851d33bbc200787825
parent 50cbf612
Branches
Tags
No related merge requests found
......@@ -136,6 +136,7 @@ function LoginForm() {
type="submit"
onClick={login}
sx={{ width: theme.typography.pxToRem(inputWidth), mt: theme.typography.pxToRem(20) }}
disabled={username === '' || password === ''}
>
{t('login_form_submit_button')}
</Button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment