Skip to content

Commit b35f757

Browse files
committed
update config
1 parent 8b50cfb commit b35f757

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ local Config = {
7171
whiteTime = 600,
7272

7373
-- 用于生成token密码的key过期时间
74-
keyExpire = 0,
74+
keyExpire = 600,
7575

7676
-- 匹配url模式,可选值requestUri,uri
7777
-- 值requestUri时,url-protect目录下的正则匹配的是浏览器最初请求的地址且没有被decode,带参数的链接

html/captcha.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,12 @@
146146
<div class="w" align="center">
147147
<div class="r">
148148
<div class="md8 os2">
149-
<h1>很抱歉...</h1>
150-
<p>您的查询看起来类似于来自计算机软件的自动请求。</p>
151-
<p>为了保护我们的用户,请原谅我们现在暂时不能处理您的请求。 </p>
152-
<p>要继续访问网页,请输入下面所示字符:</p>
149+
<!--<p><b>请您输入验证码</b></p>-->
150+
<!--<p>您的查询看起来类似于来自计算机软件的自动请求。</p>-->
151+
<p>本站为防止被恶意攻击已开启验证机制</p>
152+
<p>此验证页面仅在被认为恶意攻击时出现</p>
153+
<p>您正常浏览时也有可能触发防攻击程序</p>
154+
<p>请输入验证码继续访问</p>
153155
<form class="r" action="/verify-captcha.jpg" method="POST">
154156
<div class="fg sm4"><img class="" src="/get-captcha.jpg" alt="Captcha image"></div>
155157
<div class="fg sm5"><input class="fc" type="text" name="response"/></p></div>

0 commit comments

Comments
 (0)