mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-12-29 08:32:08 +00:00
添加重置密码页面的url,并在用户登录页面添加url
This commit is contained in:
parent
296d1ad751
commit
9da1f3906d
@ -128,7 +128,7 @@ urlpatterns = [
|
||||
url(r'^account/settings/avatar/$', TemplateView.as_view(template_name="oj/account/avatar.html"), name="avatar_settings_page"),
|
||||
url(r'^account/sso/$', SSOAPIView.as_view(), name="sso_api"),
|
||||
url(r'^api/account/userprofile/$', UserProfileAPIView.as_view(), name="userprofile_api"),
|
||||
url(r'^resetPassword/$', TemplateView.as_view(template_name="oj/account/reset_password.html"), name="reset_password_page")
|
||||
url(r'^reset_password/$', TemplateView.as_view(template_name="oj/account/reset_password.html"), name="reset_password_page")
|
||||
]
|
||||
|
||||
|
||||
|
@ -32,6 +32,7 @@
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-primary">提交</button>
|
||||
</div>
|
||||
<a href="/reset_password/">忘记用户名/密码</a><br>
|
||||
<a href="/register/">还没有帐号?点击注册</a>
|
||||
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user