Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
Merge pull request openid#11 from mmlin/master
Browse files Browse the repository at this point in the history
Minor updates in the consumer example (fixes openid#5, fixes openid#6)
  • Loading branch information
willnorris committed Jul 4, 2012
2 parents b19e822 + 2d367bb commit 7b9fb75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/djopenid/templates/consumer/request_form.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<html>
<body onload="document.getElementById('openid_message').submit()">
{{ html }}
{{ html|safe }}
</body>
</html>
2 changes: 1 addition & 1 deletion examples/djopenid/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b9fb75

Please sign in to comment.