管理端登录审计

pull/80/head
Friday 2024-01-29 15:33:50 +00:00 committed by smallbun
parent cf101c8e4c
commit c17ad46301
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ public class ConsoleAuthenticationSuccessHandler implements AuthenticationSucces
//更新认证次数
updateAuthSuccessCount(authentication);
//记录审计日志
List<Target> targets = Lists.newArrayList(Target.builder().type(TargetType.PORTAL).build());
List<Target> targets = Lists.newArrayList(Target.builder().type(TargetType.CONSOLE).build());
auditEventPublish.publish(LOGIN_CONSOLE, authentication, EventStatus.SUCCESS, targets);
//响应
HttpResponseUtils.flushResponseJson(response, HttpStatus.OK.value(), result);