Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

138
Views
use aurthentification prompt issue

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>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!