mirror of
https://gitee.com/wkeyuan/DWSurvey.git
synced 2024-11-29 18:49:26 +08:00
补充登录失败时的提示信息,便于排查
This commit is contained in:
parent
1151118451
commit
0cb2cb91e2
@ -101,7 +101,11 @@ public class SecurityController {
|
||||
// ExcessiveAttemptsException超过登录次数
|
||||
error = "超过登录次数限制";
|
||||
}
|
||||
}else{
|
||||
error = "未找到userName对应用户";
|
||||
}
|
||||
}else{
|
||||
error = "登录名userName不能为空";
|
||||
}
|
||||
}catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
Loading…
Reference in New Issue
Block a user