diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-16 05:08:47 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-16 05:08:47 +0000 |
commit | 9db02aba50f447ee0f29e03d359c25b008a839ff (patch) | |
tree | ae7ea35c6ef7adc019020bb7aaa92ff3370b93b5 /modules/openid/tests/openid_test.module | |
parent | e1d4dc7d6e37749e4642cbcaf236f26d01c9a0bc (diff) | |
download | brdo-9db02aba50f447ee0f29e03d359c25b008a839ff.tar.gz brdo-9db02aba50f447ee0f29e03d359c25b008a839ff.tar.bz2 |
#216101 by c960657, Arancaytar, aufumy, et al: Fix registration workflow for OpenID providers that do not supply usernames/e-mail addresses.
Diffstat (limited to 'modules/openid/tests/openid_test.module')
-rw-r--r-- | modules/openid/tests/openid_test.module | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/openid/tests/openid_test.module b/modules/openid/tests/openid_test.module index d8d914c22..365ddf9b3 100644 --- a/modules/openid/tests/openid_test.module +++ b/modules/openid/tests/openid_test.module @@ -212,7 +212,7 @@ function _openid_test_endpoint_authenticate() { // Generate response containing the user's identity. The openid.sreg.xxx // entries contain profile data stored by the OpenID Provider (see OpenID // Simple Registration Extension 1.0). - $response = array( + $response = variable_get('openid_test_response', array()) + array( 'openid.ns' => OPENID_NS_2_0, 'openid.mode' => 'id_res', 'openid.op_endpoint' => $base_url . url('openid/provider'), @@ -222,8 +222,6 @@ function _openid_test_endpoint_authenticate() { 'openid.return_to' => $_REQUEST['openid_return_to'], 'openid.response_nonce' => $nonce, 'openid.assoc_handle' => 'openid-test', - 'openid.sreg.email' => 'johndoe@example.com', - 'openid.sreg.nickname' => 'johndoe', 'openid.signed' => 'op_endpoint,claimed_id,identity,return_to,response_nonce,assoc_handle', ); |