JS Vérifiez si le stockage de session existe
if (localStorage.getItem("username") === null) {
//...
}
Blue Bear
if (localStorage.getItem("username") === null) {
//...
}
if (localStorage.getItem("username") === null) {
//...
}