From 41e46d53b59aaf293bcd59d224b0c976d83f79ac Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sat, 2 Nov 2013 21:03:29 +0000 Subject: [PATCH] update model --- model.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/model.py b/model.py index e0b3cd20d..6ad424e23 100644 --- a/model.py +++ b/model.py @@ -1,9 +1,9 @@ class User(dict): """ Every user must have keys for a username, name, passphrase (this - is a md5 hash of the password), groups, and an email address. They can be - blank or None, but the keys must exist. """ + is a bcrypt hash of the password), salt, groups, and an email address. + They can be blank or None, but the keys must exist. """ def __init__(self, dict=None): - for key in ['username', 'name', 'passphrase', 'email']: + for key in ['username', 'name', 'passphrase', 'salt', 'email']: self[key] = '' for key in ['groups']: self[key] = []