{useMediaQuery(theme.breakpoints.down('lg')) &&
}
setEmail(e.target.value)}
helperText={failed && 'Invalid username or password'}
/>
setPassword(e.target.value)}
/>
{codeEnabled && (
setCode(e.target.value)}
/>
)}
{openIdEnabled && (
)}
{registrationEnabled && (
navigate('/register')}
className={classes.link}
underline="none"
variant="caption"
>
{t('loginRegister')}
)}
{emailEnabled && (
navigate('/reset-password')}
className={classes.link}
underline="none"
variant="caption"
>
{t('loginReset')}
)}