Skip to content

Commit

Permalink
Issue 49278: Update audit log message when user is activated or deact…
Browse files Browse the repository at this point in the history
…ivated (#5085)
  • Loading branch information
labkey-susanh authored Jan 4, 2024
1 parent 0d25eda commit a9330dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/org/labkey/api/security/UserManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ public static void setUserActive(User currentUser, User userToAdjust, boolean ac
removeRecentUser(userToAdjust);

addToUserHistory(userToAdjust, "User account " + userToAdjust.getEmail() + " was " +
(active ? "re-enabled" : "disabled") + " " + extendedMessage
(active ? "reactivated" : "deactivated") + " " + extendedMessage
);

transaction.commit();
Expand Down

0 comments on commit a9330dc

Please sign in to comment.