diff --git a/src/oidc.js b/src/oidc.js index 0d3ac441c..c0e5c51de 100644 --- a/src/oidc.js +++ b/src/oidc.js @@ -450,7 +450,8 @@ function renderInteractionPage(provider) { submitUrl: `${ROUTE_PREFIX}/interaction/${uid}/login`, iconUrl: '/api/v1/cloudron/avatar', name: client?.name || await branding.getCloudronName(), - footer: marked.parse(await branding.renderFooter()) + footer: marked.parse(await branding.renderFooter()), + note: (client.id === tokens.ID_WEBADMIN && constants.DEMO) ? '
This is a demo. Username and password are "cloudron"
' : '' }; if (app) { diff --git a/src/oidc_templates/login.ejs b/src/oidc_templates/login.ejs index e1f48afa4..711943d06 100644 --- a/src/oidc_templates/login.ejs +++ b/src/oidc_templates/login.ejs @@ -63,6 +63,7 @@
+ <%- note %>