# HG changeset patch # User Sebastien Jodogne # Date 1788934531 -7200 # Node ID 5b30b8d2b9e87d9687600f0017bef787b065a23b # Parent 5b6af8d1f3a35d05749b11301d70fd0f3b42a453 comments diff -r 5b6af8d1f3a3 -r 5b30b8d2b9e8 ViewerPlugin/Annotations/IAuthenticatedUser.cpp --- 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); } diff -r 5b6af8d1f3a3 -r 5b30b8d2b9e8 ViewerPlugin/Annotations/ProjectInformation.cpp --- 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()) {