mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-22 06:01:52 +00:00
fix(web): syntax error in /reset-password
This commit is contained in:
parent
e357d1cb91
commit
dcd0d0b66e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user