Commit 764f32df25ff69949a756f203781dd31c0d804e1
1 parent
bb6a08e5
Fixed issue
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
connect.php
@@ -47,10 +47,10 @@ $('#validCreds')[0].addEventListener('click', function() | @@ -47,10 +47,10 @@ $('#validCreds')[0].addEventListener('click', function() | ||
47 | { | 47 | { |
48 | $("#validCreds")[0].disabled=true; | 48 | $("#validCreds")[0].disabled=true; |
49 | var checkPath = "checkCreds.php?user="; | 49 | var checkPath = "checkCreds.php?user="; |
50 | - checkCreds += $("#Entrer_Identifiant_3")[0].value; | ||
51 | - checkCreds += "&pass="; | ||
52 | - checkCreds += Whirlpool($("#entrer_mot_de_passe_3")[0].value); | ||
53 | - ret = file(checkCreds); | 50 | + checkPath += $("#Entrer_Identifiant_3")[0].value; |
51 | + checkPath += "&pass="; | ||
52 | + checkPath += Whirlpool($("#entrer_mot_de_passe_3")[0].value); | ||
53 | + ret = file(checkPath); | ||
54 | if(ret=="yep") | 54 | if(ret=="yep") |
55 | document.location.reload(); | 55 | document.location.reload(); |
56 | else | 56 | else |