feat: Nudge users to become template creators if eligible (#8357)

This commit is contained in:
Tomi Turtiainen
2024-01-17 19:07:34 +02:00
committed by GitHub
parent 3912c5e7ab
commit 99457019f7
14 changed files with 385 additions and 3 deletions

View File

@@ -280,6 +280,11 @@ export class Server extends AbstractServer {
controllers.push(MFAController);
}
if (!config.getEnv('endpoints.disableUi')) {
const { CtaController } = await import('@/controllers/cta.controller');
controllers.push(CtaController);
}
controllers.forEach((controller) => registerController(app, controller));
}