From 59be110f9b34355f8c0a54de376f7bf4375fc7c3 Mon Sep 17 00:00:00 2001 From: Mickael Date: Mon, 25 Feb 2019 20:41:28 +0100 Subject: [PATCH] renable private mode after import template --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 3998dd5..5394ced 100644 --- a/scripts/install +++ b/scripts/install @@ -470,11 +470,11 @@ mysql -u"$db_user" -p"$db_pwd" "$db_name" -e "INSERT INTO \`users_groups\` (\`id # SETUP SSOWAT #================================================= -# Make app public if necessary -if [ "$is_public" -eq 1 ] +# Make app private if necessary +if [ "$is_public" -eq 0 ] then # unprotected_uris allows SSO credentials to be passed anyway. - ynh_app_setting_set "$app" unprotected_uris "/" + ynh_app_setting_delete "$app" unprotected_uris fi #================================================= # RELOAD NGINX AND PHP-FPM