Skip to content

Commit

Permalink
fix(web): syntax error in /reset-password
Browse files Browse the repository at this point in the history
  • Loading branch information
billchenchina committed Sep 9, 2021
1 parent e357d1c commit dcd0d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/controllers/reset_pw.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function validateResetPwPost() {
if (!validateResetPwPost()) {
return false;
}
$.post(json_encode(<?=$_SERVER['REQUEST_URI']?>), {
$.post(<?= json_encode($_SERVER['REQUEST_URI']) ?>, {
reset : '',
newPW : md5($('#input-password').val(), "<?= getPasswordClientSalt() ?>")
}, function(res) {
Expand Down

0 comments on commit dcd0d0b

Please sign in to comment.