Commit 015a776dc7efad569929755db4a6020d5cdd223d

Authored by Jean Wasilewski
1 parent 19941ebc

Optimisation

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
connect.php
... ... @@ -50,8 +50,7 @@ $('#validCreds')[0].addEventListener('click', function()
50 50 checkPath += $("#Entrer_Identifiant_3")[0].value;
51 51 checkPath += "&pass=";
52 52 checkPath += Whirlpool($("#entrer_mot_de_passe_3")[0].value);
53   - ret = file(checkPath);
54   - if(ret=="Yep")
  53 + if(file(checkPath)=="Yep")
55 54 document.location.reload();
56 55 else
57 56 alert("Mauvais identifiants");
... ...