Mercurial > hg > bitsyauth
diff bitsyauth/__init__.py @ 45:54a53bbe5be9
bitsyauth/__init__.py example/persona.html
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 29 Dec 2013 20:20:38 -0800 |
parents | 158b469a10e9 |
children | aabc968611bc |
line wrap: on
line diff
--- a/bitsyauth/__init__.py Sat Dec 28 14:26:29 2013 -0800 +++ b/bitsyauth/__init__.py Sun Dec 29 20:20:38 2013 -0800 @@ -49,11 +49,14 @@ self.realm = realm or self.site self.captcha = True self.urls = { 'login': '/login', 'join': '/join', } + + # CAPTCHAs + # using skimpygimpy (for now) self.keys = {} # keys, words for CAPTCHA request - self.content_type = { 'image_captcha': 'image/png', 'wav_captcha': 'audio/wav' } + # new user creation if newuser: self.newuser = newuser else: