占位符显示问题

master
RuoYi 6 years ago committed by Limy
parent 64a918838e
commit 43b200b288

@ -52,13 +52,13 @@ public class PasswordService
} }
if (retryCount.incrementAndGet() > Integer.valueOf(maxRetryCount).intValue()) if (retryCount.incrementAndGet() > Integer.valueOf(maxRetryCount).intValue())
{ {
AsyncManager.me().execute(AsyncFactory.recordLogininfor(loginName, Constants.LOGIN_FAIL, MessageUtils.message("user.password.retry.limit.exceed"), maxRetryCount)); AsyncManager.me().execute(AsyncFactory.recordLogininfor(loginName, Constants.LOGIN_FAIL, MessageUtils.message("user.password.retry.limit.exceed", maxRetryCount)));
throw new UserPasswordRetryLimitExceedException(Integer.valueOf(maxRetryCount).intValue()); throw new UserPasswordRetryLimitExceedException(Integer.valueOf(maxRetryCount).intValue());
} }
if (!matches(user, password)) if (!matches(user, password))
{ {
AsyncManager.me().execute(AsyncFactory.recordLogininfor(loginName, Constants.LOGIN_FAIL, MessageUtils.message("user.password.retry.limit.count"), retryCount, password)); AsyncManager.me().execute(AsyncFactory.recordLogininfor(loginName, Constants.LOGIN_FAIL, MessageUtils.message("user.password.retry.limit.count", retryCount, password)));
loginRecordCache.put(loginName, retryCount); loginRecordCache.put(loginName, retryCount);
throw new UserPasswordNotMatchException(); throw new UserPasswordNotMatchException();
} }

@ -9,7 +9,7 @@ ruoyi:
#头像上传路径 #头像上传路径
profile: D:/profile/ profile: D:/profile/
# 获取ip地址开关 # 获取ip地址开关
addressEnabled: false addressEnabled: true
#开发环境配置 #开发环境配置
server: server:
#服务端口 #服务端口

@ -259,6 +259,12 @@ label{
color:#333; color:#333;
} }
@media ( max-width : 768px) {
.select-list {
display: none;
}
}
.select-list li{ .select-list li{
float:left; float:left;
color:#333; color:#333;

File diff suppressed because one or more lines are too long

@ -86,9 +86,9 @@
</div> </div>
</form> </form>
</div> </div>
<ul class="nav navbar-top-links navbar-right"> <ul class="nav navbar-top-links navbar-right welcome-message">
<li> <li>
<span class="m-r-sm text-muted welcome-message">欢迎来到若依管理后台.</span> <span class="m-r-sm text-muted">欢迎来到若依管理后台.</span>
</li> </li>
<li><a id="fullScreen"><i class="fa fa-arrows-alt"></i>全屏</a></li> <li><a id="fullScreen"><i class="fa fa-arrows-alt"></i>全屏</a></li>
<li><a th:href="@{logout}"><i class="fa fa-sign-out"></i>退出</a></li> <li><a th:href="@{logout}"><i class="fa fa-sign-out"></i>退出</a></li>

Loading…
Cancel
Save