1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/funkwhale_ynh.git synced 2024-09-03 18:36:24 +02:00

fix sso issues

This commit is contained in:
Jean-Baptiste Holcroft 2018-10-20 22:27:28 +02:00
parent 3e44180708
commit 6e9cba8011
3 changed files with 5 additions and 14 deletions

View file

@ -9,7 +9,7 @@ Installation requires a dedicated domain for now. I hope subpath installation wi
## Admin
Admin password is **funkwhale**, login is the user you provided at installation.
The admin uses the login you provided at installation. The password is the same you use for YunoHost.
The admin interface is accessible with the address: your.domain.fr/api/admin

View file

@ -226,15 +226,11 @@ chmod -R 755 "$final_path/front/dist/"
# SETUP SSOWAT
#=================================================
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
# unprotected_uris allows SSO credentials to be passed anyway.
ynh_app_setting_set "$app" unprotected_uris "/"
# makes sure no SSO credentials to be passed
ynh_app_setting_set "$app" skipped_uris "/"
fi
#=================================================

View file

@ -213,17 +213,12 @@ chmod -R 755 "$final_path/front/dist/"
# SETUP SSOWAT
#=================================================
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
# unprotected_uris allows SSO credentials to be passed anyway
ynh_app_setting_set "$app" unprotected_uris "/"
# makes sure no SSO credentials to be passed
ynh_app_setting_set "$app" skipped_uris "/"
fi
#=================================================
# RELOAD NGINX
#=================================================