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

Update upgrade

This commit is contained in:
ericgaspar 2022-04-07 16:42:39 +02:00
parent 3ff90c52fe
commit 8416e4587b
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -55,6 +55,11 @@ if ynh_legacy_permissions_exists; then
ynh_app_setting_delete --app=$app --key=is_public
fi
# Create a permission if needed
if ! ynh_permission_exists --permission="api"; then
ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --show_tile="false" --protected="true"
fi
#=================================================
# UPGRADE DEPENDENCIES
#=================================================