1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wetty_ynh.git synced 2024-09-03 18:16:29 +02:00

Wetty needs auth_header=false to log as another user. auth_header is settable on a new permission only.

This commit is contained in:
Salamandar 2021-02-15 09:58:47 +01:00
parent 58435cf612
commit bd57971b33
2 changed files with 5 additions and 0 deletions

View file

@ -172,6 +172,8 @@ then
ynh_permission_update --permission="main" --add="visitors" ynh_permission_update --permission="main" --add="visitors"
fi fi
ynh_permission_url --permission="main" --auth_header=false
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================

View file

@ -68,6 +68,9 @@ if ynh_legacy_permissions_exists; then
ynh_app_setting_delete --app=$app --key=is_public ynh_app_setting_delete --app=$app --key=is_public
fi fi
# Disable auth_header
ynh_permission_url --permission="main" --auth_header=false
#================================================= #=================================================
# CREATE DEDICATED USER # CREATE DEDICATED USER
#================================================= #=================================================