From 5f440f5be172cfc3bb493f863b3e1b96a2dd1761 Mon Sep 17 00:00:00 2001 From: ewilly Date: Thu, 21 Apr 2016 19:50:45 +0200 Subject: [PATCH] Fix #7 --- manifest.json | 6 +++--- scripts/install | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index dd32066..103d006 100644 --- a/manifest.json +++ b/manifest.json @@ -40,11 +40,11 @@ { "name": "public_site", "ask": { - "en": "Should this application be public ?", - "fr": "Est-ce que cette application doit être visible publiquement ?" + "en": "Should this application be public ? (if not, sharing file with unregistered users still work)", + "fr": "Est-ce que cette application doit être visible publiquement ? (dans le cas contraire, le partage de fichiers avec des utilisateurs externes fonctionnera tout de même)" }, "choices": ["Yes", "No"], - "default": "Yes" + "default": "No" }, { "name": "default_lang", diff --git a/scripts/install b/scripts/install index 89069fb..1dfdeb7 100644 --- a/scripts/install +++ b/scripts/install @@ -111,6 +111,7 @@ if [ "$is_public" = "No" ]; then # redirect to SSOwat login in sudo yunohost app setting $app unprotected_uris -d + sudo yunohost app setting bozon unprotected_regex -v "$domain$path/index.php%?f=.*$" else sudo yunohost app setting $app unprotected_uris -v "/" fi