# HG changeset patch # User Jeff Hammel # Date 1321556676 28800 # Node ID 814ed3208afab8401ee3f80a54bdc03dad602280 # Parent d5f44b38826dbafa60f0a5a3466aa6870b1fd0ec whitespace diff -r d5f44b38826d -r 814ed3208afa bitsyauth/__init__.py --- a/bitsyauth/__init__.py Thu Nov 17 11:04:19 2011 -0800 +++ b/bitsyauth/__init__.py Thu Nov 17 11:04:36 2011 -0800 @@ -334,12 +334,12 @@ self.hash(name, self.request.POST['Password'])) self.request.environ['REMOTE_USER'] = name # login the new user self.request.environ['paste.auth_tkt.set_user'](name) - + return errors class BitsyAuth(object): """outer middleware for auth; does the cookie handling and wrapping""" - + def __init__(self, app, global_conf, passwords, newuser, site='', secret='secret'): self.app = app self.path = '/logout'