I\'m trying to prevent multiple requests when user click on login or register button. This is my code, but it doesn\'t work. Just the first time works fine, then return fals
You can disable the button.
$(this).prop('disabled', true);