Skip to content

Commit d5125d3

Browse files
committed
add _type to impersonate
1 parent 01b8873 commit d5125d3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

OpenFlow/src/Audit.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export class Audit {
2626
Base.addRight(log, user._id, user.name, [Rights.read]);
2727
Base.addRight(log, impostor._id, impostor.name, [Rights.read]);
2828
log.success = true;
29+
log._type = "impersonate";
2930
log.type = "impersonate";
3031
log.userid = user._id;
3132
log.name = user.name;
@@ -42,6 +43,7 @@ export class Audit {
4243
Base.addRight(log, user._id, user.name, [Rights.read]);
4344
Base.addRight(log, impostor._id, impostor.name, [Rights.read]);
4445
log.success = false;
46+
log._type = "impersonate";
4547
log.type = "impersonate";
4648
log.userid = user._id;
4749
log.name = user.name;

0 commit comments

Comments
 (0)