From a44139f31bf6480b3dc87088633d12130ed3a686 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Moreau?= Date: Wed, 21 Jun 2017 11:31:21 +0200 Subject: [PATCH] [fix] "/modules" URI should not be protected --- scripts/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index 4512d77..89af2de 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -17,10 +17,10 @@ CONFIG_SSOWAT () { sudo yunohost app addaccess $app -u $admin # Protect senstive sub-routes -ynh_app_setting_set "$app" protected_uris "/webui","/webmin","/modules" +ynh_app_setting_set "$app" protected_uris "/webui","/webmin" # Duniter is public app, with only some parts restricted in nginx.conf -ynh_app_setting_set "$app" unprotected_uris "/" +ynh_app_setting_set "$app" unprotected_uris "/","/modules" # Set URL redirection from root to webadmin ynh_app_setting_set "$app" redirected_urls "{'$domain/':'$domain/webui'}"