From 015a776dc7efad569929755db4a6020d5cdd223d Mon Sep 17 00:00:00 2001 From: Jean Wasilewski Date: Sun, 9 Nov 2014 16:33:12 +0100 Subject: [PATCH] Optimisation --- connect.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/connect.php b/connect.php index f85780e..d8fe8ae 100644 --- a/connect.php +++ b/connect.php @@ -50,8 +50,7 @@ $('#validCreds')[0].addEventListener('click', function() checkPath += $("#Entrer_Identifiant_3")[0].value; checkPath += "&pass="; checkPath += Whirlpool($("#entrer_mot_de_passe_3")[0].value); - ret = file(checkPath); - if(ret=="Yep") + if(file(checkPath)=="Yep") document.location.reload(); else alert("Mauvais identifiants"); -- libgit2 0.21.2