Commit ace34c30 by James Henstridge

Remove middleware component, since we're not using it anymore.

parent de539d3e
class OpenIDMiddleware(object):
"""
Populate request.openid and request.openids with their openid. This comes
eithen from their cookie or from their session, depending on the presence
of OPENID_USE_SESSIONS.
"""
def process_request(self, request):
request.openids = request.session.get('openids', [])
if request.openids:
request.openid = request.openids[-1] # Last authenticated OpenID
else:
request.openid = None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment