diff options
Diffstat (limited to 'Auth/OpenID.php')
-rw-r--r-- | Auth/OpenID.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Auth/OpenID.php b/Auth/OpenID.php index 41e850b..0c071b9 100644 --- a/Auth/OpenID.php +++ b/Auth/OpenID.php @@ -557,5 +557,14 @@ class Auth_OpenID { $message = call_user_func_array('sprintf', $args); error_log($message); } + + function autoSubmitHTML($form) + { + return("<html>". + "<body onload='document.forms[0].submit();'>". + $form . + "</body>". + "</html>"); + } } ?> |