From 965c5cf73baa47b9f3e44af77dfcd3b67f2a8a5b Mon Sep 17 00:00:00 2001 From: ClaraCrazy Date: Wed, 1 Nov 2023 12:40:27 +0100 Subject: [PATCH] Configurable branding pt. 3 --- infrastructure/web/routes/login.js | 6 ++++-- infrastructure/web/views/layout.twig | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/infrastructure/web/routes/login.js b/infrastructure/web/routes/login.js index 227ab0b..0db83b8 100644 --- a/infrastructure/web/routes/login.js +++ b/infrastructure/web/routes/login.js @@ -10,7 +10,8 @@ router.get('/', (req, res, _next) => { title: `${config.branding[0]} | Your temporary Inbox`, username: randomWord(), domains: config.email.domains, - madeby: config.branding[1] + madeby: config.branding[1], + madebysite: config.branding[2] }) }) @@ -32,7 +33,8 @@ router.post( username: req.body.username, domain: req.body.domain, userInputError: true, - madeby: config.branding[1] + madeby: config.branding[1], + madebysite: config.branding[2] }) } diff --git a/infrastructure/web/views/layout.twig b/infrastructure/web/views/layout.twig index d98cce8..2e18f71 100644 --- a/infrastructure/web/views/layout.twig +++ b/infrastructure/web/views/layout.twig @@ -28,7 +28,7 @@ {% block footer %} {% endblock %}