Mercurial > hg > bitsyauth
changeset 18:814ed3208afa
whitespace
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 17 Nov 2011 11:04:36 -0800 |
parents | d5f44b38826d |
children | aac4a4ea70a7 |
files | bitsyauth/__init__.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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'