Commit 015a776dc7efad569929755db4a6020d5cdd223d

Authored by Jean Wasilewski
1 parent 19941ebc

Optimisation

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