diff options
author | Alexey Zakhlestin <indeyets@gmail.com> | 2010-04-03 03:08:10 +0800 |
---|---|---|
committer | lillialexis <lillialexis@gmail.com> | 2010-04-29 04:48:12 +0800 |
commit | 624887b3a9d4d68c18c788adaa85f59cde2f9392 (patch) | |
tree | 932b1167e769993e6a4ba63e03f676c98ea36299 | |
parent | 7339c0132de2bcfb5a539435d70a46748a3eb428 (diff) | |
download | php-openid-624887b3a9d4d68c18c788adaa85f59cde2f9392.zip php-openid-624887b3a9d4d68c18c788adaa85f59cde2f9392.tar.gz php-openid-624887b3a9d4d68c18c788adaa85f59cde2f9392.tar.bz2 |
form should autosubmit. fixes issue#2 from github.com/openid/php-openid branch
-rw-r--r-- | Auth/OpenID/Server.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/OpenID/Server.php b/Auth/OpenID/Server.php index 065d529..9b89cba 100644 --- a/Auth/OpenID/Server.php +++ b/Auth/OpenID/Server.php @@ -1464,7 +1464,7 @@ class Auth_OpenID_Encoder { array('location' => $location)); } else if ($encode_as == Auth_OpenID_ENCODE_HTML_FORM) { $wr = new $cls(AUTH_OPENID_HTTP_OK, array(), - $response->toFormMarkup()); + $response->toHTML()); } else { return new Auth_OpenID_EncodingError($response); } |