mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 15:55:18 +08:00
bugfix
This commit is contained in:
@@ -132,7 +132,9 @@ public class LoginUserService extends BaseService<LoginUserEntity, LoginUserRepo
|
||||
"用户 {} 已经在其他地方登录, 之前 {}个 登录将被强制下线",
|
||||
entity.getUser().getUsername(),
|
||||
toDelete.size());
|
||||
this.repository.deleteAll(toDelete);
|
||||
for (LoginUserEntity user : toDelete) {
|
||||
this.deleteLogin(user.getId());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user