remove token from auditing
This commit is contained in:
parent
c3ee8c68c8
commit
40bffe71e5
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue