diff --git a/client/src/components/auth/Auth.jsx b/client/src/components/auth/Auth.jsx index 8d0f1d103..e5fa196fe 100644 --- a/client/src/components/auth/Auth.jsx +++ b/client/src/components/auth/Auth.jsx @@ -3,13 +3,7 @@ import { Redirect } from 'react-router-dom'; import { useHistory } from 'react-router-dom'; import { checkUser, checkAuth } from '../../services/user.service'; import { authLevelRedirect } from '../../utils/authUtils'; -import { - Typography, - Button, - FormControl, - Box, - TextField -} from '@mui/material'; +import { Typography, Button, FormControl, Box, TextField } from '@mui/material'; import useAuth from '../../hooks/useAuth'; import '../../sass/AdminLogin.scss'; @@ -107,33 +101,37 @@ const Auth = () => {
- Welcome Back! + + Welcome Back! +
- -
-
- - + +
+
+ + - + label="Enter your email address:" + type="email" + name="email" + placeholder="Email Address" + required="required" + onChange={handleInputChange} + aria-label="Email Address" + data-test="input-email" + autoComplete="email" + /> + +
-
- + +
{ className="login-button" data-test="login-btn" disabled={isDisabled} - sx={{color: 'black'}} + sx={{ color: 'black' }} > LOGIN