feat: 提醒恶意登录
This commit is contained in:
parent
a79c27b228
commit
88f97a6896
@ -92,6 +92,11 @@ public class User extends AuditDomain implements IUser {
|
||||
@Transient
|
||||
private Object detail;
|
||||
|
||||
/**
|
||||
* 错误次数,防止恶意登录
|
||||
*/
|
||||
private Integer errorCount = 0;
|
||||
|
||||
@Override
|
||||
public User toUser() {
|
||||
return this;
|
||||
|
Loading…
Reference in New Issue
Block a user