Mercurial > hg > orthanc-authorization
changeset 76:d301047ee3c4
fix unchecked resource
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 09 Mar 2023 14:37:52 +0100 |
parents | 57e98fc07ab2 |
children | 94a9484d7f8f |
files | Plugin/Plugin.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugin/Plugin.cpp Mon Mar 06 11:34:18 2023 +0100 +++ b/Plugin/Plugin.cpp Thu Mar 09 14:37:52 2023 +0100 @@ -754,6 +754,7 @@ { uncheckedFolders_.push_back("/ui/app/"); uncheckedFolders_.push_back("/ui/landing/"); + uncheckedResources_.insert("/"); // for the redirect to /ui/app/ uncheckedResources_.insert("/ui/api/pre-login-configuration"); // for the UI to know, i.e. if Keycloak is enabled or not uncheckedResources_.insert("/ui/api/configuration"); uncheckedResources_.insert("/auth/user-profile");