aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/users.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index b221779dc..b3456504e 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1063,10 +1063,7 @@
}
// Turn on email notifications by default
- set_user_notification_setting($user->getGUID(), 'email', true);
-
- // Send email validation request
- request_email_validation($user->getGUID());
+ set_user_notification_setting($user->getGUID(), 'email', true);
return $user->getGUID();
}