diff --git a/web/app/controllers/reset_pw.php b/web/app/controllers/reset_pw.php index 4bf64de..848aff1 100644 --- a/web/app/controllers/reset_pw.php +++ b/web/app/controllers/reset_pw.php @@ -63,7 +63,7 @@ $(document).ready(function() { if (!validateResetPwPost()) { return false; } - $.post('', { + $.post(json_encode(), { reset : '', newPW : md5($('#input-password').val(), "") }, function(res) {