Mercurial > hg > orthanc-wsi
changeset 605:5b30b8d2b9e8
comments
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Wed, 09 Sep 2026 08:15:31 +0200 |
| parents | 5b6af8d1f3a3 |
| children | 9034e40dbbdd |
| files | ViewerPlugin/Annotations/IAuthenticatedUser.cpp ViewerPlugin/Annotations/ProjectInformation.cpp |
| diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ViewerPlugin/Annotations/IAuthenticatedUser.cpp Tue Sep 08 17:42:16 2026 +0200 +++ b/ViewerPlugin/Annotations/IAuthenticatedUser.cpp Wed Sep 09 08:15:31 2026 +0200 @@ -298,7 +298,7 @@ { const std::string source = Orthanc::SerializationToolbox::ReadString(authentication, "source", "(none)"); - if (source == "orthanc-education") + if (source == "orthanc-education") // This necessitate education plugin 1.2 { return new EducationPluginUser(authentication); }
--- a/ViewerPlugin/Annotations/ProjectInformation.cpp Tue Sep 08 17:42:16 2026 +0200 +++ b/ViewerPlugin/Annotations/ProjectInformation.cpp Wed Sep 09 08:15:31 2026 +0200 @@ -41,6 +41,7 @@ { Json::Value info; + // The route below was introduced in education plugin 1.2 if (OrthancPlugins::RestApiGet(info, "/education/api-plugins/project?id=" + projectId_, true) && info.isObject()) {
