1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Update install

This commit is contained in:
frju365 2018-03-11 12:12:45 +01:00 committed by GitHub
parent 81e829c794
commit 8ed96442e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,9 +197,15 @@ yunohost service add $app --log "/var/log/$app/nodebb.log"
# SETUP SSOWAT # SETUP SSOWAT
#================================================= #=================================================
if [ $is_public -eq 1 ]; if [ $is_public -eq 0 ]
then # Remove the public access
ynh_app_setting_delete $app skipped_uris
fi
# Make app public if necessary
if [ $is_public -eq 1 ]
then then
ynh_app_setting_set $app skipped_uris "/" # unprotected_uris allows SSO credentials to be passed anyway.
ynh_app_setting_set $app unprotected_uris "/"
fi fi
#================================================= #=================================================