Skip to content
Permalink
Browse files
fix(web): json_encode for REQUEST_URI enter in /reset-password
  • Loading branch information
billchenchina committed Sep 9, 2021
1 parent ebf541a commit e357d1c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -63,7 +63,7 @@ function validateResetPwPost() {
if (!validateResetPwPost()) {
return false;
}
$.post('<?=$_SERVER['REQUEST_URI']?>', {
$.post(json_encode(<?=$_SERVER['REQUEST_URI']?>), {
reset : '',
newPW : md5($('#input-password').val(), "<?= getPasswordClientSalt() ?>")
}, function(res) {

0 comments on commit e357d1c

Please sign in to comment.