diff options
Diffstat (limited to 'actions')
-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)) { |