diff bitsyblog/factory.py @ 105:67e01fc5e360

STUB: bitsyblog/bitsyblog.py bitsyblog/factory.py bitsyblog/user.py
author Jeff Hammel <k0scist@gmail.com>
date Sun, 23 Feb 2014 17:45:22 -0800
parents 3198edbf7d8e
children e2f7dccbac26
line wrap: on
line diff
--- a/bitsyblog/factory.py	Sun Feb 23 17:16:09 2014 -0800
+++ b/bitsyblog/factory.py	Sun Feb 23 17:45:22 2014 -0800
@@ -57,6 +57,8 @@
                      site=bitsyblog_args.get('site', 'bitsyblog'),
                      secret=secret)
     if not user in app.users:
+        # create a new user
+        # really, should go in CLI or what not
         pw = getpass('Enter password for %s: ' % user)
         app.newuser(user, auth.hash(app.user, pw))
     return auth