Mercurial > hg > bitsyauth
changeset 52:aabc968611bc
STUB: bitsyauth/__init__.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 23 Feb 2014 17:08:13 -0800 |
parents | 12342551537b |
children | d9e712cfd098 |
files | bitsyauth/__init__.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/bitsyauth/__init__.py Mon Dec 30 23:03:55 2013 -0800 +++ b/bitsyauth/__init__.py Sun Feb 23 17:08:13 2014 -0800 @@ -1,3 +1,7 @@ +""" +bitsyauth: wrapper module for paste auth +""" + import markup import random import re @@ -29,6 +33,7 @@ globals()['dictionary'] = _dictionary return random.Random().choice(dictionary) + class BitsyAuthInnerWare(object): """inner auth; does login checking""" @@ -237,6 +242,7 @@ self.request.environ['REMOTE_USER'] = user self.request.environ['paste.auth_tkt.set_user'](user) + ### join def captcha_pre(self, word, key):