summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/User.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index fe46dc292..542e6e8d7 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -1349,6 +1349,10 @@ sub insert_new_user {
"(user_id, relationship, event) " .
"VALUES ($userid, " . REL_ANY . ", $event)");
}
+
+ my $user = new Bugzilla::User($userid);
+ $user->derive_regexp_groups();
+
# Return the password to the calling code so it can be included
# in an email sent to the user.