Skip to content
Browse files

Bugfix: Automatically POST the form from OP to RP

  • Loading branch information...
1 parent 12efd78 commit 30f85f247ac25a2f207793a7b9c5c18a9808ef0c @justjkk justjkk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 openid/server/server.py
View
2 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 30f85f2

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