Commit ea0238f0 authored by Antoine Millet's avatar Antoine Millet
Browse files

create_account handler now hash the provided password.

parent 22de3563
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -286,7 +286,7 @@ class CCConf(object):
            raise CCConf.AlreadyExistingAccount('%s found' % filename)
        else:
            conf = CCConf.CONF_TEMPLATE.copy()
            conf['password'] = password
            conf['password'] = self._hash_password(password)
            conf['role'] = role

            self._set_conf(login, conf, create=True)