Merge pull request #152 from YunoHost/yalh76-patch-1

Typo
This commit is contained in:
Alexandre Aubin 2021-04-09 21:26:06 +02:00 committed by GitHub
commit 05e5b4f4a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -366,7 +366,7 @@ ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
# Everyone can access to the api part # Everyone can access to the api part
# We don't want to display the tile in the sso so we put --show_tile="false" # We don't want to display the tile in the sso so we put --show_tile="false"
# And we don't want that the YunoHost Admin can remove visitors group to this permission, so we put --protected="true" # And we don't want that the YunoHost Admin can remove visitors group to this permission, so we put --protected="true"
ynh_permission_create --permission="api" --url "/api" --allowed="visitors" --show_tile="false" --protected="true" ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --show_tile="false" --protected="true"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX

View file

@ -75,7 +75,7 @@ fi
# Create a permission if needed # Create a permission if needed
if ! ynh_permission_exists --permission="api"; then if ! ynh_permission_exists --permission="api"; then
ynh_permission_create --permission="api" --url "/api" --allowed="visitors" --show_tile="false" --protected="true" ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --show_tile="false" --protected="true"
fi fi
#================================================= #=================================================