Mercurial > hg > orthanc-authorization
changeset 273:05de982f6cdf inbox
fix
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Mon, 11 Aug 2025 12:23:27 +0200 |
parents | abbd7948499f |
children | 74c2ce776b81 |
files | Plugin/Plugin.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugin/Plugin.cpp Sun Aug 10 15:40:23 2025 +0200 +++ b/Plugin/Plugin.cpp Mon Aug 11 12:23:27 2025 +0200 @@ -151,7 +151,7 @@ { LOG(WARNING) << "AUDIT-LOG: " << userId << " / " << action << " on " << resourceType << ":" << resourceId << ", " << logData.toStyledString(); - if (enableAuditLogs_) + if (!enableAuditLogs_) { // This function should not be called if audit logs are disabled throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError);