1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

make same change as install : make private by default

This commit is contained in:
Mickael 2019-02-25 20:50:26 +01:00
parent 59be110f9b
commit 131ed10a16

View file

@ -248,13 +248,13 @@ fi
# RE-ENABLE SSOWAT # RE-ENABLE SSOWAT
#================================================= #=================================================
ynh_print_info "re-enable SSOWAT" ynh_print_info "re-enable SSOWAT"
# Make app public if necessary # Make app private if necessary
if [ $is_public -eq 1 ] if [ $is_public -eq 0 ]
then then
# unprotected_uris allows SSO credentials to be passed anyway. # unprotected_uris allows SSO credentials to be passed anyway.
ynh_app_setting_set "$app" unprotected_uris "/" ynh_app_setting_delete "$app" unprotected_uris
else else
ynh_app_setting_set "$app" unprotected_uris "" ynh_app_setting_set "$app" unprotected_uris "/"
fi fi
systemctl reload nginx systemctl reload nginx