From a3fae1bd073305a3f096f862de657770a072cdf5 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Wed, 22 Jun 2011 22:16:50 -0500 Subject: [PATCH] Setting status to active when adding users with ./bin/gmg adduser --- mediagoblin/gmg_commands/users.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mediagoblin/gmg_commands/users.py b/mediagoblin/gmg_commands/users.py index 79392def..3709b61f 100644 --- a/mediagoblin/gmg_commands/users.py +++ b/mediagoblin/gmg_commands/users.py @@ -37,6 +37,7 @@ def adduser(args): entry['username'] = unicode(args.username.lower()) 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.save(validate=True) -- 2.25.1