Commit ea0238f0 authored by Antoine Millet's avatar Antoine Millet

create_account handler now hash the provided password.

parent 22de3563
......@@ -286,7 +286,7 @@ class CCConf(object):
raise CCConf.AlreadyExistingAccount('%s found' % filename)
conf = CCConf.CONF_TEMPLATE.copy()
conf['password'] = password
conf['password'] = self._hash_password(password)
conf['role'] = role
self._set_conf(login, conf, create=True)
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