Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #11 from mmlin/master

Minor updates in the consumer example (fixes #5, fixes #6)
  • Loading branch information...
commit 7b9fb75996edba1c4f350d67b1358f6f98cc7f39 2 parents b19e822 + 2d367bb
@willnorris willnorris authored
View
2  examples/djopenid/templates/consumer/request_form.html
@@ -1,5 +1,5 @@
<html>
<body onload="document.getElementById('openid_message').submit()">
- {{ html }}
+ {{ html|safe }}
</body>
</html>
View
2  examples/djopenid/util.py
@@ -133,7 +133,7 @@ def normalDict(request_data):
values are lists, because in OpenID, each key in the query arg set
can have at most one value.
"""
- return dict((k, v[0]) for k, v in request_data.iteritems())
+ return dict((k, v) for k, v in request_data.iteritems())
def renderXRDS(request, type_uris, endpoint_urls):
"""Render an XRDS page with the specified type URIs and endpoint

0 comments on commit 7b9fb75

Please sign in to comment.
Something went wrong with that request. Please try again.