Skip to content

Commit

Permalink
[Fix] PrivilegeRemoveUserCommand refreshes sessions, and not invalida…
Browse files Browse the repository at this point in the history
…tes its own session
  • Loading branch information
eitch committed Oct 5, 2023
1 parent 5e7f5c8 commit f2f5a44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void doCommand() {
if (privilegeHandler.isPersistOnUserDataChanged())
privilegeHandler.persist(tx().getCertificate());

getComponent(StrolchSessionHandler.class).invalidate(tx().getCertificate());
getComponent(StrolchSessionHandler.class).refreshSessions();

Audit audit = tx().auditFrom(AccessType.DELETE, PRIVILEGE, USER, this.username);
tx().getAuditTrail().add(tx(), audit);
Expand Down

0 comments on commit f2f5a44

Please sign in to comment.