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