mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-19 18:22:10 +08:00
bugfix: 1. 修复私有问题访问bug;2. 重构私有文档访问逻辑代码;3. shell生成zip包中,删除go文件。 resolves mindoc-org/mindoc#751, resolves mindoc-org/mindoc#801
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
<body>
|
||||
<div class="auth_form">
|
||||
<div class="shell">
|
||||
<form action="{{urlfor "DocumentController.Index" ":key" .Identify}}" method="post" id="auth_form">
|
||||
<form action="{{urlfor "DocumentController.CheckPassword" ":key" .Identify}}" method="post" id="auth_form">
|
||||
<div class="tit">{{i18n .Lang "doc.input_pwd"}}</div>
|
||||
<div style="margin-top: 10px;">
|
||||
<input type="password" name="bPassword" placeholder="{{i18n .Lang "doc.read_pwd"}}" class="inp"/>
|
||||
|
Reference in New Issue
Block a user