diff --git a/action.php b/action.php new file mode 100644 index 0000000..ec7ccfd --- /dev/null +++ b/action.php @@ -0,0 +1,12 @@ + diff --git a/js/index.js b/js/index.js index 71ef1f1..8a03fe9 100644 --- a/js/index.js +++ b/js/index.js @@ -26,6 +26,7 @@ $(document).ready(function() { function(data){ if(data.status == "fail") { $('#alertLoginFailed').slideDown(600); + $.post( "action.php", { action: "failedlogin", user: $('#inputUser').val() } ); } else { location.assign("domains.php"); }