Skip to content

Fire system hooks when a user is created via LDAP or OAuth

Stan Hu requested to merge sh-system-hooks-ldap-users into master

System hooks weren't being fired when an LDAP user was created because Users::BuildService and Users::UpdateService were being used instead of Users::CreateService. Fix this by moving the notification code into a concern and calling it when Users::UpdateService persists a user to the database.

Closes #37073 (closed)

Merge request reports