diff options
author | Joar Wandborg <git@wandborg.com> | 2011-05-07 00:55:32 +0200 |
---|---|---|
committer | Joar Wandborg <git@wandborg.com> | 2011-05-07 00:55:32 +0200 |
commit | 67e63926f929cf7b6665fba00238fec227b5831e (patch) | |
tree | 6817816920891838dfb39dffdcbb8f028e770150 | |
parent | e19bd50a7b1bc0232ddb5afbebd06abaf1da537f (diff) | |
download | mediagoblin-67e63926f929cf7b6665fba00238fec227b5831e.tar.lz mediagoblin-67e63926f929cf7b6665fba00238fec227b5831e.tar.xz mediagoblin-67e63926f929cf7b6665fba00238fec227b5831e.zip |
Fixed bug in models.py:User that caused all users created by the same python process to have the same verification_key value
Signed-off-by: Joar Wandborg <git@wandborg.com>
-rw-r--r-- | mediagoblin/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/models.py b/mediagoblin/models.py index 62cab4a5..c361feac 100644 --- a/mediagoblin/models.py +++ b/mediagoblin/models.py @@ -50,7 +50,7 @@ class User(Document): 'created': datetime.datetime.utcnow, 'email_verified': False, 'status': u'needs_email_verification', - 'verification_key': unicode( uuid.uuid4() ) } + 'verification_key': uuid.uuid4 } def check_login(self, password): """ |