mirror of https://gitee.com/stylefeng/guns
【7.0.4】更新获取验证码开关的配置
parent
2a03c5d980
commit
89536e03cb
|
@ -181,7 +181,7 @@
|
||||||
<i class="layui-icon layui-icon-password"></i>
|
<i class="layui-icon layui-icon-password"></i>
|
||||||
<input class="layui-input" id="password" name="password" placeholder="请输入登录密码" type="password" lay-verType="tips" lay-verify="required" required/>
|
<input class="layui-input" id="password" name="password" placeholder="请输入登录密码" type="password" lay-verType="tips" lay-verify="required" required/>
|
||||||
</div>
|
</div>
|
||||||
@if(constants.getCaptchaOpen()){
|
@if(security.getCaptchaOpen()){
|
||||||
<div class="layui-form-item layui-input-icon-group login-captcha-group">
|
<div class="layui-form-item layui-input-icon-group login-captcha-group">
|
||||||
<i class="layui-icon layui-icon-auz"></i>
|
<i class="layui-icon layui-icon-auz"></i>
|
||||||
<input id="verKey" name="verKey" type="hidden"/>
|
<input id="verKey" name="verKey" type="hidden"/>
|
||||||
|
@ -250,7 +250,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
// 开启验证码
|
// 开启验证码
|
||||||
@if(constants.getCaptchaOpen()){
|
@if(security.getCaptchaOpen()){
|
||||||
getKaptcha();
|
getKaptcha();
|
||||||
@}
|
@}
|
||||||
|
|
||||||
|
@ -263,7 +263,7 @@
|
||||||
// 重定向到首页
|
// 重定向到首页
|
||||||
window.location.href = Feng.ctxPath + "/";
|
window.location.href = Feng.ctxPath + "/";
|
||||||
}, function (data) {
|
}, function (data) {
|
||||||
@if(constants.getCaptchaOpen()){
|
@if(security.getCaptchaOpen()){
|
||||||
//清空输入框
|
//清空输入框
|
||||||
$("#verCode").val('');
|
$("#verCode").val('');
|
||||||
//刷新验证码
|
//刷新验证码
|
||||||
|
|
Loading…
Reference in New Issue