Bring back demo login info
This commit is contained in:
@@ -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
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user