修改申请重置密码页面及js名称
This commit is contained in:
1 parent
a1cec58010
commit
a54b629ae8
2 files changed
+2
-2
No files matched your search
@@ -7,7 +7,7 @@ require(["jquery", "bsAlert", "csrfToken", "validator"], function ($, bsAlert, c
|
||||
|
||||
$.ajax({
|
||||
beforeSend: csrfTokenHeader,
|
||||
url: "/api/reset_password/",
|
||||
url: "/api/apply_reset_password/",
|
||||
data: {email: email, captcha: captcha},
|
||||
dataType: "json",
|
||||
method: "post",
|
||||
|
||||
@@ -36,5 +36,5 @@
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block js_block %}
|
||||
<script src="/static/js/app/oj/account/resetPassword.js"></script>
|
||||
<script src="/static/js/app/oj/account/applyResetPassword.js"></script>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user