From ea0238f0f02dadb62442e979cc6acb259ffcbf1f Mon Sep 17 00:00:00 2001 From: Antoine Millet Date: Mon, 27 Dec 2010 11:53:11 +0100 Subject: [PATCH] create_account handler now hash the provided password. --- ccserver/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccserver/conf.py b/ccserver/conf.py index 4aab91c..597184f 100644 --- a/ccserver/conf.py +++ b/ccserver/conf.py @@ -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) -- GitLab