Commit 85add48d authored by Jérome Perrin's avatar Jérome Perrin

ERP5 PY3: WIP init_user fix

parent 0fa70f15
......@@ -86,7 +86,7 @@ md5sum = 0ac4b74436f554cd677f19275d18d880
[template-zope]
filename = instance-zope.cfg.in
md5sum = e73343f53fd70fd6e2b78827aeaebabc
md5sum = 56eccb94cdd9dec40663c61809ec150c
[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