aboutsummaryrefslogtreecommitdiff
path: root/actions/useradd.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/useradd.php')
-rw-r--r--actions/useradd.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/useradd.php b/actions/useradd.php
index 71b8d826d..ea0bc66e0 100644
--- a/actions/useradd.php
+++ b/actions/useradd.php
@@ -36,6 +36,7 @@ try {
$new_user->admin_created = true;
$new_user->created_by_guid = get_loggedin_userid();
+ set_user_validation_status($new_user->getGUID(), TRUE, 'admin_created');
notify_user($new_user->guid, $CONFIG->site->guid, elgg_echo('useradd:subject'), sprintf(elgg_echo('useradd:body'), $name, $CONFIG->site->name, $CONFIG->site->url, $username, $password));