changeset 3484 | 5911030a1a66 |
parent 2620 | c814c667d4d1 |
child 3553 | b059a3fb2a58 |
--- a/mod_invite/mod_invite.lua Wed Mar 06 21:51:45 2019 +0100 +++ b/mod_invite/mod_invite.lua Thu Mar 07 22:36:30 2019 +0100 @@ -109,6 +109,9 @@ invite_storage:set(nil, tokens); + module:fire_event("user-registered", { + username = prepped_username, host = module.host, source = "mod_invite", }); + return apply_template(template, { classes = "alert-success", message = "Your account has been created! You can now log in using an XMPP client." }) else