From 0f2006bbf4b6325198bb142c262cb2d8a918c226 Mon Sep 17 00:00:00 2001 From: Thomas Dedek Date: Fri, 7 Feb 2020 10:59:47 +0100 Subject: [PATCH] remove password protection --- build+deploy.sh | 4 +--- static/.htaccess | 6 ------ static/.htpasswd | 1 - 3 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 static/.htpasswd diff --git a/build+deploy.sh b/build+deploy.sh index 635b72b..dc64d48 100755 --- a/build+deploy.sh +++ b/build+deploy.sh @@ -6,10 +6,8 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true rm -rf public hugo -rsync -v --archive --delete --exclude /.htpasswd public/ \ +rsync -v --archive --delete public/ \ ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.org/htdocs-ssl/ -rsync -v --archive public/.htpasswd \ - ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.org/ echo echo Finished. See results at https://my.ecogood.org diff --git a/static/.htaccess b/static/.htaccess index e3aae15..f224448 100644 --- a/static/.htaccess +++ b/static/.htaccess @@ -1,9 +1,3 @@ -# authentication -AuthType Basic -AuthName "Geschuetzter Bereich. Zugangsdaten koennen beim AK-IT unbuerokratish angefordert werden." -AuthUserFile /home/pacs/ecg00/users/portal/doms/my.ecogood.org/.htpasswd -Require valid-user - # CSP Starter Policy: allows images, scripts, AJAX, and CSS from the same origin, and does not allow any other resources to load (eg object, frame, media, etc). Header set Content-Security-Policy "default-src 'none'; script-src 'self'; connect-src 'self'; img-src 'self'; style-src 'self';" diff --git a/static/.htpasswd b/static/.htpasswd deleted file mode 100644 index bf5b337..0000000 --- a/static/.htpasswd +++ /dev/null @@ -1 +0,0 @@ -ecogood:GZW/io0Bep3lk \ No newline at end of file