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>
This commit is contained in:
parent
e19bd50a7b
commit
67e63926f9
@ -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):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user