Commit 5a1cf513 authored by Jérome Perrin's avatar Jérome Perrin

ERP5 PY3: WIP init_user fix

parent 5a4cd290
......@@ -86,7 +86,7 @@ md5sum = 0ac4b74436f554cd677f19275d18d880
[template-zope]
filename = instance-zope.cfg.in
md5sum = e6e913b494655613a4920ab8576c820b
md5sum = 2eb5edc71034984169bec0f84f26d58d
[template-balancer]
filename = instance-balancer.cfg.in
......
......@@ -250,7 +250,7 @@ file-list = {{ parameter_dict['site-zcml'] }}
[{{ section('zope-inituser') }}]
< = jinja2-template-base
output = ${directory:instance}/inituser
inline = {{ slapparameter_dict['inituser-login'] }}:{SHA}{{ base64.b64encode(hashlib.sha1(slapparameter_dict['inituser-password'].encode('utf-8')).digest()) }}
inline = {{ slapparameter_dict['inituser-login'] }}:{SHA}{{ base64.b64encode(hashlib.sha1(slapparameter_dict['inituser-password'].encode('utf-8')).digest()).decode() }}
once = ${:output}_done
[zope-conf-parameter-base]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment