Je me souviens.

This commit is contained in:
MarcEricMartel 2022-11-08 10:21:53 -08:00
parent 3053d0cb0c
commit db79087632
2 changed files with 9 additions and 2 deletions

View File

@ -96,7 +96,7 @@ const Topbar = () => {
<Container>
<Dropdown.Divider />
<Dropdown.ItemText>
Gestion
<b>Gestion</b>
</Dropdown.ItemText>
<Dropdown.Item>
<Link className="nav-link" to="/inventaire" >

View File

@ -5,7 +5,7 @@ import Cookies from "universal-cookie";
const Login = () => {
const [rememberme, setPersistence] = useState(true);
const [rememberme, setPersistence] = useState(false);
const [email, setEmail] = useState("");
const [password, setPassword] = useState("");
const [returnmess, returnMessage] = useState("");
@ -81,6 +81,13 @@ const Login = () => {
value={password}
onChange={(e) => setPassword(e.target.value)} />
</div>
<div className="form-group" styles="display:flex;">
<label>Se souvenir de moi
<input type="checkbox"
value={rememberme}
onChange={(e) => setPersistence(!rememberme)} />
</label>
</div>
<Button className="btn-primary btn-ajouter-morceau" type="submit" >Connexion</Button>
</form>
</div>