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:
parent
59be110f9b
commit
131ed10a16
1 changed files with 4 additions and 4 deletions
|
@ -248,13 +248,13 @@ fi
|
|||
# RE-ENABLE SSOWAT
|
||||
#=================================================
|
||||
ynh_print_info "re-enable 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
|
||||
else
|
||||
ynh_app_setting_set "$app" unprotected_uris ""
|
||||
ynh_app_setting_set "$app" unprotected_uris "/"
|
||||
fi
|
||||
|
||||
systemctl reload nginx
|
||||
|
|
Loading…
Add table
Reference in a new issue