diff --git a/infrastructure/web/routes/inbox.js b/infrastructure/web/routes/inbox.js index fe1493f..fc0667d 100644 --- a/infrastructure/web/routes/inbox.js +++ b/infrastructure/web/routes/inbox.js @@ -17,6 +17,7 @@ router.get('^/:address([^@/]+@[^@/]+)', sanitizeAddress, (req, res, _next) => { title: `${config.http.branding[0]} | ` + req.params.address, address: req.params.address, mailSummaries: mailProcessingService.getMailSummaries(req.params.address), + servicename: config.http.branding[0], madeby: config.http.branding[1], madebysite: config.http.branding[2] }) @@ -45,6 +46,7 @@ router.get( address: req.params.address, mail, uid: req.params.uid, + servicename: config.http.branding[0], madeby: config.http.branding[1], madebysite: config.http.branding[2] }) @@ -54,6 +56,7 @@ router.get( { address: req.params.address, message: 'This mail could not be found. It either does not exist or has been deleted from our servers!', + servicename: config.http.branding[0], madeby: config.http.branding[1], madebysite: config.http.branding[2], } @@ -128,6 +131,7 @@ router.get( { address: req.params.address, message: 'This attachment could not be found. It either does not exist or has been deleted from our servers!', + servicename: config.http.branding[0], madeby: config.http.branding[1], madebysite: config.http.branding[2], } @@ -168,6 +172,7 @@ router.get( { address: req.params.address, message: 'This mail could not be found. It either does not exist or has been deleted from our servers!', + servicename: config.http.branding[0], madeby: config.http.branding[1], madebysite: config.http.branding[2], } diff --git a/infrastructure/web/routes/login.js b/infrastructure/web/routes/login.js index df85a67..d2607b6 100644 --- a/infrastructure/web/routes/login.js +++ b/infrastructure/web/routes/login.js @@ -10,6 +10,7 @@ router.get('/', (req, res, _next) => { title: `${config.http.branding[0]} | Your temporary Inbox`, username: randomWord(), domains: config.email.domains, + servicename: config.http.branding[0], madeby: config.http.branding[1], madebysite: config.http.branding[2] }) @@ -42,6 +43,7 @@ router.post( title: `${config.http.branding[0]} | Your temporary Inbox`, username: randomWord(), domains: config.email.domains, + servicename: config.http.branding[0], madeby: config.http.branding[1], madebysite: config.http.branding[2] }) diff --git a/infrastructure/web/views/layout.twig b/infrastructure/web/views/layout.twig index 5b3d6a5..7470b83 100644 --- a/infrastructure/web/views/layout.twig +++ b/infrastructure/web/views/layout.twig @@ -28,7 +28,7 @@ {% block footer %} {% endblock %}