diff --git a/client/src/pages/Login.tsx b/client/src/pages/Login.tsx index 4b968e89fd587a1bccde5937be16acdd7a990ad0..53d3828344b28b2f9c8a5fd35c89b91d0188b3c9 100644 --- a/client/src/pages/Login.tsx +++ b/client/src/pages/Login.tsx @@ -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>