mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
Fix Protected URIS
This commit is contained in:
parent
eab577e730
commit
d3707e9abd
1 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,6 @@ ynh_abort_if_errors
|
||||||
# RETRIEVE ARGUMENTS FROM THE MANIFEST
|
# RETRIEVE ARGUMENTS FROM THE MANIFEST
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url="/Microsoft-Server-ActiveSync"
|
path_url="/Microsoft-Server-ActiveSync"
|
||||||
#admin=$YNH_APP_ARG_ADMIN
|
#admin=$YNH_APP_ARG_ADMIN
|
||||||
|
@ -32,7 +31,6 @@ is_public="1"
|
||||||
#language=$YNH_APP_ARG_LANGUAGE
|
#language=$YNH_APP_ARG_LANGUAGE
|
||||||
#password=$YNH_APP_ARG_PASSWORD
|
#password=$YNH_APP_ARG_PASSWORD
|
||||||
|
|
||||||
path_url_activesync="/Microsoft-Server-ActiveSync"
|
|
||||||
path_url_autodiscover1="/AutoDiscover"
|
path_url_autodiscover1="/AutoDiscover"
|
||||||
path_url_autodiscover2="/Autodiscover"
|
path_url_autodiscover2="/Autodiscover"
|
||||||
path_url_autodiscover3="/autodiscover"
|
path_url_autodiscover3="/autodiscover"
|
||||||
|
@ -369,6 +367,7 @@ if [ $is_public -eq 1 ]
|
||||||
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_set $app unprotected_uris "/"
|
||||||
|
ynh_app_setting_set $app unprotected_uris $path_url_autodiscover1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue