1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-04-21 10:24:37 +00:00

fix(web): syntax error in /reset-password

This commit is contained in:
billchenchina 2021-09-09 22:07:17 +08:00
parent e357d1cb91
commit dcd0d0b66e
No known key found for this signature in database
GPG Key ID: 90EAD6E362C2E2D3

@ -63,7 +63,7 @@ $(document).ready(function() {
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) {