补充登录失败时的提示信息,便于排查

This commit is contained in:
wkeyuan 2021-12-27 14:46:07 +08:00
parent 1151118451
commit 0cb2cb91e2

View File

@ -101,7 +101,11 @@ public class SecurityController {
// ExcessiveAttemptsException超过登录次数
error = "超过登录次数限制";
}
}else{
error = "未找到userName对应用户";
}
}else{
error = "登录名userName不能为空";
}
}catch (Exception e) {
e.printStackTrace();