aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/users.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-12-23 21:01:13 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-12-24 00:07:24 +0100
commitb39d1f2351352fca21666137fa137eb64926a036 (patch)
tree9ec1dc3611deeba908f907f2ef27effc13424816 /mediagoblin/gmg_commands/users.py
parent1eac751bd2b3ecf4f9bfffe101c3f16f1e49eba6 (diff)
downloadmediagoblin-b39d1f2351352fca21666137fa137eb64926a036.tar.lz
mediagoblin-b39d1f2351352fca21666137fa137eb64926a036.tar.xz
mediagoblin-b39d1f2351352fca21666137fa137eb64926a036.zip
Mongo removal: Remove the validate=True arg to obj.save()
all callers were forced to use validate=True anyway. So remove this useless stuff.
Diffstat (limited to 'mediagoblin/gmg_commands/users.py')
-rw-r--r--mediagoblin/gmg_commands/users.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/gmg_commands/users.py b/mediagoblin/gmg_commands/users.py
index 70e591c9..024c8498 100644
--- a/mediagoblin/gmg_commands/users.py
+++ b/mediagoblin/gmg_commands/users.py
@@ -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)"