Commit e5433f3f authored by Jérome Perrin's avatar Jérome Perrin

ERP5 PY3: WIP init_user fix

parent 27a6bd07
......@@ -86,7 +86,7 @@ md5sum = 0ac4b74436f554cd677f19275d18d880
[template-zope]
filename = instance-zope.cfg.in
md5sum = 4b3c332ff08b293aa099088d03e2b951
md5sum = 7a8e8e46aa529a8d76e17b76977d0d2a
[template-balancer]
filename = instance-balancer.cfg.in
......
......@@ -251,7 +251,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