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, 4 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index bc308ff82..20a974430 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -900,7 +900,10 @@
if (!$admin) {
$user->admin = true;
datalist_set('admin_registered',1);
- }
+ }
+
+ // Turn on email notifications by default
+ set_user_notification_setting($user->getGUID(), 'email', true);
// Send email validation request
request_email_validation($user->getGUID());