diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-03 16:11:13 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-03 16:11:13 +0000 |
commit | 5366cd6a4ca12203147407be01a80817fa37ea3a (patch) | |
tree | 690afeb8cfd3d4ca1cb41700b40fe2454b29b10d /actions | |
parent | 8dd1515697fcef1968d062c18222eb21d520f5e2 (diff) | |
download | elgg-5366cd6a4ca12203147407be01a80817fa37ea3a.tar.gz elgg-5366cd6a4ca12203147407be01a80817fa37ea3a.tar.bz2 |
Fixes #311, closes #345: Validation now called via event 'user', 'validate'. Email validation now a plugin.
git-svn-id: https://code.elgg.org/elgg/trunk@2177 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r-- | actions/register.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/actions/register.php b/actions/register.php index eb5f24c98..7a8a01c5d 100644 --- a/actions/register.php +++ b/actions/register.php @@ -47,12 +47,11 @@ $new_user->admin = 'yes'; } - if (!$new_user->admin) - $new_user->disable('new_user'); // Now disable if not an admin - // Send user validation request on register only request_user_validation($guid); + if (!$new_user->admin) + $new_user->disable('new_user'); // Now disable if not an admin system_message(sprintf(elgg_echo("registerok"),$CONFIG->sitename)); |