im trying to athentificate user with prompts but alert always say authentification approved id like to know what to do to fix it
<script>
var code_utilisateur = prompt("fournissez votre code utilisateur").toLowerCase();
var mot_de_passe = prompt("entrez votre mot de passe").toLowerCase();
var tableau = ["admin,qwerty", "bob,starwars123", "marie,1q2w3e"];
alert(code_utilisateur);
if (code_utilisateur && mot_de_passe == tableau[0] || tableau[1] || tableau[2]) {
alert("Authentification réussie");
alert("Bonjour " + code_utilisateur);
}
else {
alert("Echec d'authentification");
}
</script>