summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-28 22:06:20 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-28 22:06:32 +0000
commit15892d0271ce6e70fce3534ee12f649004ce148d (patch)
tree60af9ae90570e987d366db3b9102d9bea4985387 /lib
parentf5897da89ca63facbef54c23cff894f2bbe8e644 (diff)
downloadgitlab-ce-15892d0271ce6e70fce3534ee12f649004ce148d.tar.gz
Add latest changes from gitlab-org/security/gitlab@15-4-stable-ee
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/hook_data/group_member_builder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/hook_data/group_member_builder.rb b/lib/gitlab/hook_data/group_member_builder.rb
index 2998550a4b5..d70885018e9 100644
--- a/lib/gitlab/hook_data/group_member_builder.rb
+++ b/lib/gitlab/hook_data/group_member_builder.rb
@@ -39,7 +39,7 @@ module Gitlab
group_id: group_member.group.id,
user_username: group_member.user.username,
user_name: group_member.user.name,
- user_email: group_member.user.email,
+ user_email: group_member.user.webhook_email,
user_id: group_member.user.id,
group_access: group_member.human_access,
expires_at: group_member.expires_at&.xmlschema