From a651f1ac239e6f30ce737a0ff4807985171bc45a Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Wed, 10 Aug 2016 17:57:51 +0200 Subject: [PATCH] yunohost admin match regex --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index aaed83f..40a8fc6 100644 --- a/scripts/install +++ b/scripts/install @@ -159,7 +159,7 @@ then domain_regex=$(echo "$domain" | sed 's@-@.@g') CHECK_VAR "$domain_regex" "domain_regex empty" sudo yunohost app setting $app skipped_regex -v "$domain_regex" - sudo yunohost app setting $app protected_regex -v "$domain_regex.*admin" # Protège l'accès de l'administration d'etherpad et de mypads. + sudo yunohost app setting $app protected_regex -v "$domain_regex/admin","$domain_regex/mypads/%?/admin" # Protège l'accès de l'administration d'etherpad et de mypads. fi sudo yunohost app setting $app path -v /mypads # /mypads vient se rajouter à l'adresse de etherpad pour y être associé sur le portail.