diff --git a/compforge/src/Components/Login.react.jsx b/compforge/src/Components/Login.react.jsx index 8ced63bd4c64850aa9f9d0e841bd3e2ab549a1e2..eca28619b40ac3bf64acd61038fa3bfeb677892e 100644 --- a/compforge/src/Components/Login.react.jsx +++ b/compforge/src/Components/Login.react.jsx @@ -129,6 +129,11 @@ const Login = (props) => { <Button variant="outlined" size='small' style={{ fontSize: 10 }} color="primary" > <Link to={'/signup'}>Sign up</Link> </Button> </Typography> + <Typography component="p" className={classes.password}> + <span style={{ marginRight: 6 }}>Forgotten password? </span> + <Button variant="outlined" size='small' style={{ fontSize: 10 }} color="primary" onClick={() => { setShowModal(true); }} > Reset </Button> + </Typography> + <Button type="button" fullWidth @@ -140,11 +145,6 @@ const Login = (props) => { Sign In </Button> - <Typography component="p" className={classes.password}> - <span style={{ marginRight: 6 }}>Request password reset </span> - <Button variant="outlined" size='small' style={{ fontSize: 10 }} color="primary" onClick={() => { setShowModal(true); }} > here </Button> - </Typography> - <Drawer anchor={'top'} open={Boolean(showModal)} onClose={() => setShowModal('false')}> <Container component="main" maxWidth="md">