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