diff --git a/scripts/install b/scripts/install index 4e70d3c..7bc1a52 100644 --- a/scripts/install +++ b/scripts/install @@ -228,24 +228,24 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" #-- #================================================= ynh_script_progression --message="Configuring SSOwat..." --weight=1 -# # Make app public if necessary or protect it -# if [ $is_public -eq 1 ] -# then -# # Everyone can access the app. -# # The "main" permission is automatically created before the install script. -# ynh_permission_update --permission "main" --add "visitors" -# fi - - -# SSOwat configuration -if [[ "$ssoenabled" -eq 0 ]]; then - ynh_app_setting_set "$app" skipped_uris "/" - #(cd "$final_path" && php"${phpversion}" mud.php config --xmppwhitelist="$domain") - undo_sso_patch -else - ynh_app_setting_set "$app" unprotected_uris "/" +# Make app public if necessary or protect it +if [ $is_public -eq 1 ] +then + # Everyone can access the app. + # The "main" permission is automatically created before the install script. + ynh_permission_update --permission "main" --add "visitors" fi + +# # SSOwat configuration +# if [[ "$ssoenabled" -eq 0 ]]; then +# ynh_app_setting_set "$app" skipped_uris "/" +# #(cd "$final_path" && php"${phpversion}" mud.php config --xmppwhitelist="$domain") +# undo_sso_patch +# else +# ynh_app_setting_set "$app" unprotected_uris "/" +# fi + #================================================= # RELOAD NGINX #=================================================