aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/users.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2011-11-14 18:54:52 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2011-12-05 21:08:57 +0100
commit4facc7a0a21a57023f0d3707f1a3483ca7a560c8 (patch)
tree1f3dcc15514bd21b4ca696ee5577f4e5110cb151 /mediagoblin/gmg_commands/users.py
parent9047b254f340c16f33183f0d6d68e6c4a5a3c8de (diff)
downloadmediagoblin-4facc7a0a21a57023f0d3707f1a3483ca7a560c8.tar.lz
mediagoblin-4facc7a0a21a57023f0d3707f1a3483ca7a560c8.tar.xz
mediagoblin-4facc7a0a21a57023f0d3707f1a3483ca7a560c8.zip
Dot-Notation for Users.email_verified
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 6084f9d7..88895661 100644
--- a/mediagoblin/gmg_commands/users.py
+++ b/mediagoblin/gmg_commands/users.py
@@ -54,7 +54,7 @@ def adduser(args):
entry.email = unicode(args.email)
entry.pw_hash = auth_lib.bcrypt_gen_password_hash(args.password)
entry['status'] = u'active'
- entry['email_verified'] = True
+ entry.email_verified = True
entry.save(validate=True)
print "User created (and email marked as verified)"