Disable log in button when username or password are empty
Change-Id: I86f3f5a10e0ad0768dd084851d33bbc200787825
diff --git a/client/src/pages/Login.tsx b/client/src/pages/Login.tsx
index 4b968e8..53d3828 100644
--- a/client/src/pages/Login.tsx
+++ b/client/src/pages/Login.tsx
@@ -136,6 +136,7 @@
type="submit"
onClick={login}
sx={{ width: theme.typography.pxToRem(inputWidth), mt: theme.typography.pxToRem(20) }}
+ disabled={username === '' || password === ''}
>
{t('login_form_submit_button')}
</Button>