Mongo removal: Remove the validate=True arg to obj.save()

all callers were forced to use validate=True anyway. So
remove this useless stuff.
This commit is contained in:
Elrond
2012-12-23 21:01:13 +01:00
parent 1eac751bd2
commit b39d1f2351
6 changed files with 9 additions and 10 deletions

View File

@@ -55,7 +55,7 @@ def adduser(args):
entry.pw_hash = auth_lib.bcrypt_gen_password_hash(args.password)
entry.status = u'active'
entry.email_verified = True
entry.save(validate=True)
entry.save()
print "User created (and email marked as verified)"