Bring back demo login info

This commit is contained in:
Johannes Zellner
2025-06-13 09:27:53 +02:00
parent 5d42439bf4
commit e496f4f3e2
2 changed files with 2 additions and 2 deletions

View File

@@ -296,7 +296,7 @@ async function renderInteractionPage(req, res, next) {
ICON_URL: '/api/v1/cloudron/avatar',
NAME: client.name || await branding.getCloudronName(),
FOOTER: marked.parse(await branding.renderFooter()),
NOTE: (client.id === oidcClients.ID_WEBADMIN && constants.DEMO) ? '<div style="text-align: center;">This is a demo. Username and password is "cloudron"</div>' : ''
NOTE: constants.DEMO ? `This is a demo. Username and password is "${constants.DEMO_USERNAME}"` : '',
};
if (app) {