1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/privatebin_ynh.git synced 2024-09-03 20:15:56 +02:00

Merge pull request #6 from opi/master

[enh] Pass SSO credential even in public mode.
This commit is contained in:
Julien Malik 2014-11-03 10:50:04 +01:00
commit 6b7d6ba56b
2 changed files with 3 additions and 2 deletions

View file

@ -37,7 +37,7 @@ sudo chmod 600 $nginxconf
sudo yunohost app setting zerobin is_public -v "$is_public" sudo yunohost app setting zerobin is_public -v "$is_public"
if [ "$is_public" = "Yes" ]; if [ "$is_public" = "Yes" ];
then then
sudo yunohost app setting zerobin skipped_uris -v "/" sudo yunohost app setting zerobin unprotected_uris -v "/"
fi fi
sudo service nginx reload sudo service nginx reload

View file

@ -31,7 +31,8 @@ sudo chmod 600 $nginxconf
if [ "$is_public" = "Yes" ]; if [ "$is_public" = "Yes" ];
then 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 fi
sudo service nginx reload sudo service nginx reload