mirror of
https://github.com/YunoHost-Apps/bozon_ynh.git
synced 2024-09-03 18:16:09 +02:00
Fix #7
This commit is contained in:
parent
0e7ee80fcd
commit
5f440f5be1
2 changed files with 4 additions and 3 deletions
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue