Je me souviens.
This commit is contained in:
parent
3053d0cb0c
commit
db79087632
@ -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" >
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user