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
+1 -1
View File
@@ -94,7 +94,7 @@ onMounted(async () => {
<small>{{ $t('login.loginTo') }}</small>
<h1>{{ name }}</h1>
<br/>
<div :html="note"></div>
<div v-html="note"></div>
<form @submit.prevent="onSubmit" v-if="!totpTokenRequired">
<fieldset :disabled="busy">
+1 -1
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) {