projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85e1bc3
)
Changed the method used to generate uuids for verification_key, this one works, thank...
author
Joar Wandborg
<git@wandborg.com>
Sat, 7 May 2011 00:30:35 +0000
(
02:30
+0200)
committer
Joar Wandborg
<git@wandborg.com>
Sat, 7 May 2011 00:30:35 +0000
(
02:30
+0200)
Signed-off-by: Joar Wandborg <git@wandborg.com>
mediagoblin/models.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/models.py
b/mediagoblin/models.py
index c361feac5a9db16200d7db3fa125982f8e399e20..e11981871c1665e2e4342c98066e10c86359dfd7 100644
(file)
--- 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':
uuid.uuid4
}
+ 'verification_key':
lambda: unicode( uuid.uuid4() )
}
def check_login(self, password):
"""