diff options
author | cash <cash.costello@gmail.com> | 2011-12-17 12:43:35 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-12-17 12:43:35 -0500 |
commit | a62adbd9cb180fe6bbf88cff2f787d262f737ecb (patch) | |
tree | 9ecc324eba4dcdf57f98cde1bcc66e03c148b027 /actions/openid_client/register.php | |
parent | bc56428d493d99576ff274611df3b029e7e47e0a (diff) | |
download | elgg-a62adbd9cb180fe6bbf88cff2f787d262f737ecb.tar.gz elgg-a62adbd9cb180fe6bbf88cff2f787d262f737ecb.tar.bz2 |
removed code from previous plugin
Diffstat (limited to 'actions/openid_client/register.php')
-rw-r--r-- | actions/openid_client/register.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/openid_client/register.php b/actions/openid_client/register.php index e847d2395..c4d3501ed 100644 --- a/actions/openid_client/register.php +++ b/actions/openid_client/register.php @@ -1,6 +1,6 @@ <?php /** - * Register an OpenID user + * Register OpenID user action */ elgg_set_context('openid_client'); @@ -10,7 +10,7 @@ $name = get_input('name'); $email = get_input('email'); $openid_identifier = get_input('openid_identifier'); -$password = 'test'; +$password = generate_random_cleartext_password(); try { $guid = register_user($username, $password, $name, $email, false); @@ -30,5 +30,5 @@ if (!elgg_trigger_plugin_hook('register', 'user', array('user' => $user), true)) } login($user); -system_message($message); +system_message(elgg_echo('openid_client:success:register')); forward(); |