Showing
1 changed file
with
3 additions
and
1 deletions
@@ -111,7 +111,9 @@ const local = { | @@ -111,7 +111,9 @@ const local = { | ||
111 | res.render('login', { | 111 | res.render('login', { |
112 | width750: true, | 112 | width750: true, |
113 | loginIndex: true, // 模板中使用JS的标识 | 113 | loginIndex: true, // 模板中使用JS的标识 |
114 | - captchaShow: _.get(req.session, 'login.errorCount') <= 0, | 114 | + |
115 | + // captchaShow: _.get(req.session, 'login.errorCount') <= 0, | ||
116 | + captchaShow: true, | ||
115 | 117 | ||
116 | // 返回的URL链接 | 118 | // 返回的URL链接 |
117 | backUrl: 'javascript:history.go(-1)', // eslint-disable-line | 119 | backUrl: 'javascript:history.go(-1)', // eslint-disable-line |
-
Please register or login to post a comment