From b674b9a4dac04f369cc99c9de737fb459b504113 Mon Sep 17 00:00:00 2001 From: Moul Date: Sat, 3 Oct 2020 12:11:31 +0200 Subject: [PATCH] [fix] #89: Remove /modules path from allowed path to visitors since it brokes the access BMA since YnH v3.7 permission system --- scripts/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index 50247f6..49e8aba 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -38,7 +38,7 @@ CONFIG_SSOWAT () { 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 "/","/modules" + ynh_app_setting_set "$app" unprotected_uris "/" # Set URL redirection from root to webadmin ynh_app_setting_set "$app" redirected_urls "{'$domain/':'$domain/webui'}"