From 31b5254fc89de9e4717e7427542fd2523d84266e Mon Sep 17 00:00:00 2001 From: opi Date: Thu, 30 Oct 2014 12:46:34 +0100 Subject: [PATCH] [enh] Pass SSO credential even in public mode. --- scripts/install | 2 +- scripts/upgrade | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 3ed6803..c910e8f 100755 --- a/scripts/install +++ b/scripts/install @@ -37,7 +37,7 @@ sudo chmod 600 $nginxconf sudo yunohost app setting zerobin is_public -v "$is_public" if [ "$is_public" = "Yes" ]; then - sudo yunohost app setting zerobin skipped_uris -v "/" + sudo yunohost app setting zerobin unprotected_uris -v "/" fi sudo service nginx reload diff --git a/scripts/upgrade b/scripts/upgrade index ba2171a..164e0fc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -31,7 +31,8 @@ sudo chmod 600 $nginxconf if [ "$is_public" = "Yes" ]; then - sudo yunohost app setting zerobin skipped_uris -v "/" + sudo yunohost app setting zerobin skipped_uris -d + sudo yunohost app setting zerobin unprotected_uris -v "/" fi sudo service nginx reload