mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-04 11:31:53 +00:00
修复typo
This commit is contained in:
parent
932d2ea3e7
commit
c0a148b6f5
@ -2,8 +2,8 @@ require(["jquery", "bsAlert", "csrfToken", "validator"], function ($, bsAlert, c
|
||||
var applied_captcha = false;
|
||||
$('form').validator().on('submit', function (e) {
|
||||
if (!e.isDefaultPrevented()) {
|
||||
var loca = location.href.split("/");
|
||||
var token = loca[loca.length-2];
|
||||
var splited_location = location.href.split("/");
|
||||
var token = splited_location[splited_location.length-2];
|
||||
var captcha = $("#captcha").val();
|
||||
var password = $("#new_password").val();
|
||||
$.ajax({
|
||||
|
Loading…
Reference in New Issue
Block a user