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