diff --git a/apps/meteor/app/lib/server/functions/saveUser.js b/apps/meteor/app/lib/server/functions/saveUser.js index f912626c833e1..5c36e959316a0 100644 --- a/apps/meteor/app/lib/server/functions/saveUser.js +++ b/apps/meteor/app/lib/server/functions/saveUser.js @@ -331,6 +331,9 @@ const saveNewUser = async function (userData, sendPassword) { } } + const user = await Users.findOneById(_id); + setImmediate(async () => callbacks.run('afterCreateUser', user)); + return _id; };