Added check for ZEO auth settings 0.1.4
authortflorac@t-rex.home.ulthar.net
Sun, 26 Nov 2017 09:16:10 +0100
changeset 11 893d6fc43deb
parent 10 b15fb8aca7b9
child 12 4162f2add100
Added check for ZEO auth settings
{{cookiecutter.project_slug}}/buildout.cfg
--- a/{{cookiecutter.project_slug}}/buildout.cfg	Fri Oct 06 09:41:59 2017 +0200
+++ b/{{cookiecutter.project_slug}}/buildout.cfg	Sun Nov 26 09:16:10 2017 +0100
@@ -41,9 +41,11 @@
     read-only false
     invalidation-queue-size 100
     transaction-timeout 300
+{%- if cookiecutter.use_zeo_auth}
     authentication-protocol digest
     authentication-database $((INSTALL))/etc/auth.db
     authentication-realm {{ cookiecutter.project_name }}
+{%- endif %}
   </zeo>
   <blobstorage {{ cookiecutter.zeo_storage }}>
     blob-dir $((INSTALL))/var/db/blobs