mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-17 10:56:39 +08:00
修复:登录失败锁定不生效
This commit is contained in:
parent
cdbb854e6c
commit
8d635bb80b
@ -161,6 +161,10 @@ public class Level3ProtectConfigService {
|
||||
this.maxUploadFileSizeMb = configForm.getMaxUploadFileSizeMb();
|
||||
}
|
||||
|
||||
if (configForm.getLoginFailMaxTimes() != null) {
|
||||
this.loginFailMaxTimes = configForm.getLoginFailMaxTimes();
|
||||
}
|
||||
|
||||
if (configForm.getLoginFailLockMinutes() != null) {
|
||||
this.loginFailLockSeconds = configForm.getLoginFailLockMinutes() * 60;
|
||||
}
|
||||
|
@ -162,6 +162,10 @@ public class Level3ProtectConfigService {
|
||||
this.maxUploadFileSizeMb = configForm.getMaxUploadFileSizeMb();
|
||||
}
|
||||
|
||||
if (configForm.getLoginFailMaxTimes() != null) {
|
||||
this.loginFailMaxTimes = configForm.getLoginFailMaxTimes();
|
||||
}
|
||||
|
||||
if (configForm.getLoginFailLockMinutes() != null) {
|
||||
this.loginFailLockSeconds = configForm.getLoginFailLockMinutes() * 60;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user