修改申请重置密码页面及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({
|
$.ajax({
|
||||||
beforeSend: csrfTokenHeader,
|
beforeSend: csrfTokenHeader,
|
||||||
url: "/api/reset_password/",
|
url: "/api/apply_reset_password/",
|
||||||
data: {email: email, captcha: captcha},
|
data: {email: email, captcha: captcha},
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
|||||||
@@ -36,5 +36,5 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block js_block %}
|
{% block js_block %}
|
||||||
<script src="/static/js/app/oj/account/resetPassword.js"></script>
|
<script src="/static/js/app/oj/account/applyResetPassword.js"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in new issue
Block a user