remove token from auditing

This commit is contained in:
Sofia Papacharalampous 2024-06-11 17:43:54 +03:00
parent c3ee8c68c8
commit 40bffe71e5
1 changed files with 1 additions and 3 deletions

View File

@ -301,9 +301,7 @@ public class UserController {
public Boolean getUserTokenPermission(@PathVariable("token") String token) throws InvalidApplicationException, IOException {
logger.debug(new MapLogEntry("allow merge account to user").And("token", token));
this.auditService.track(AuditableAction.User_AllowMergeAccount, Map.ofEntries(
new AbstractMap.SimpleEntry<String, Object>("token", token)
));
this.auditService.track(AuditableAction.User_AllowMergeAccount);
return this.userTypeService.doesTokenBelongToLoggedInUser(token);
}