Commit d8889b3fada1765fafbbc4f2644e1f4f7dd28c55
1 parent
015a776d
Issue with document.location.reload
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
connect.php
... | ... | @@ -51,7 +51,7 @@ $('#validCreds')[0].addEventListener('click', function() |
51 | 51 | checkPath += "&pass="; |
52 | 52 | checkPath += Whirlpool($("#entrer_mot_de_passe_3")[0].value); |
53 | 53 | if(file(checkPath)=="Yep") |
54 | - document.location.reload(); | |
54 | + document.location.replace(""); | |
55 | 55 | else |
56 | 56 | alert("Mauvais identifiants"); |
57 | 57 | $("#validCreds")[0].disabled=false; | ... | ... |