Permalink
Browse files

Merge pull request #31 from justjkk/master

Provider should post automatically to Consumer after authorize
  • Loading branch information...
2 parents 65c953f + 30f85f2 commit fab30b0af99fe47bbee6ab12d5b055648fe38a51 @willnorris willnorris committed Aug 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 openid/server/server.py
@@ -1339,7 +1339,7 @@ def encode(self, response):
headers={'location': location})
elif encode_as == ENCODE_HTML_FORM:
wr = self.responseFactory(code=HTTP_OK,
- body=response.toFormMarkup())
+ body=response.toHTML())
else:
# Can't encode this to a protocol message. You should probably
# render it to HTML and show it to the user.

0 comments on commit fab30b0

Please sign in to comment.