mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-26 03:21:49 +08:00
feat:1、增加登录注册跨站攻击防护
2、移除上传图片默认的域名
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
<div class="row login">
|
||||
<div class="login-body">
|
||||
<form role="form" method="post" id="findPasswordForm" action="{{urlfor "AccountController.ValidEmail"}}">
|
||||
{{ .xsrfdata }}
|
||||
<input type="hidden" name="token" value="{{.Token}}">
|
||||
<input type="hidden" name="mail" value="{{.Email}}">
|
||||
<h3 class="text-center">找回密码</h3>
|
||||
|
||||
Reference in New Issue
Block a user