记住密码 文字改为 自动登录

This commit is contained in:
thinkgem
2019-05-05 15:56:42 +08:00
parent b82217e624
commit 04781bed25
3 changed files with 3 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ public class FormAuthenticationFilter extends org.apache.shiro.web.filter.authc.
protected AuthenticationToken createToken(ServletRequest request, ServletResponse response) {
String username = getUsername(request, response); // 用户名
String password = getPassword(request); // 登录密码
boolean rememberMe = isRememberMe(request); // 记住我(记住密码
boolean rememberMe = isRememberMe(request); // 记住我(自动登录
String host = getHost(request); // 登录主机
String captcha = getCaptcha(request); // 登录验证码
Map<String, Object> paramMap = ServletUtils.getExtParams(request); // 登录附加参数

View File

@@ -52,7 +52,7 @@
公共场所慎用,下次不需要再填写帐号=Use caution in public places.
记住账号=Remember account
公共场所慎用,下次不需要再填写帐号和密码=Use caution in public places.
记住密码=Remember password
自动登录=Remember password
登录验证成功,正在进入...=Login authentication successful, entering...
正在验证登录,请稍候...=Verify login, please wait...

View File

@@ -43,7 +43,7 @@
class="form-control" data-style="square-blue"> ${text('记住账号')}</label> &nbsp;
<label title="${text('公共场所慎用,下次不需要再填写帐号和密码')}"><input type="checkbox"
name="rememberMe"${isNotBlank(cookie('rememberMe'))?' checked':''}
class="form-control" data-style="square-blue"> ${text('记住密码')}</label>
class="form-control" data-style="square-blue"> ${text('自动登录')}</label>
</div>
</div>
<div class="form-group">