diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-28 12:27:05 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-28 12:27:05 -0500 |
commit | 11a7ca1c5c23af990422783b14d021a7c177032b (patch) | |
tree | 6fc2de6bb0d20b048a9f9a2e697850fd2b16143e /actions/openid_client/register.php | |
parent | 80ed1e24b59d62c411cb2bed5535d9e6fd9fcc9a (diff) | |
download | elgg-11a7ca1c5c23af990422783b14d021a7c177032b.tar.gz elgg-11a7ca1c5c23af990422783b14d021a7c177032b.tar.bz2 |
fixed bug where email wasn't being passed to register action - now using annotations instead of metadata to hold openid identifier
Diffstat (limited to 'actions/openid_client/register.php')
-rw-r--r-- | actions/openid_client/register.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/openid_client/register.php b/actions/openid_client/register.php index c4d3501ed..f0ad2a5fd 100644 --- a/actions/openid_client/register.php +++ b/actions/openid_client/register.php @@ -19,8 +19,9 @@ try { forward(REFERER); } $user = get_entity($guid); +openid_client_set_subtype($user); -$user->openid_identifier = $openid_identifier; +$user->annotate('openid_identifier', $openid_identifier, ACCESS_PUBLIC); elgg_set_user_validation_status($guid, true, 'openid'); if (!elgg_trigger_plugin_hook('register', 'user', array('user' => $user), true)) { |