perf:调整登录日志,同时限制登录失败次数(10分钟内最多5次)
This commit is contained in:
@@ -34,9 +34,9 @@ public interface TsLoginConfigurer {
|
||||
|
||||
|
||||
/**
|
||||
* 签名错误的时候
|
||||
* 登录失败的时候
|
||||
*/
|
||||
default void onSignError(HttpServletResponse response) {
|
||||
default void onLoginError(String to,HttpServletResponse response) {
|
||||
ServletKit.write(response, "404", "text");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user