mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
Fix missing event
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
This commit is contained in:
parent
f21524bbbe
commit
83b7926e3a
@ -128,6 +128,8 @@ module.exports = {
|
||||
roles: superAdminRole ? [superAdminRole.id] : [],
|
||||
});
|
||||
|
||||
await strapi.telemetry.send('didCreateFirstAdmin');
|
||||
|
||||
ctx.body = {
|
||||
data: {
|
||||
token: strapi.admin.services.token.createJwtToken(user),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user