Compare commits

...

2 Commits

Author SHA1 Message Date
jc21
5b6ca1bf00 Merge pull request #4664 from JMDirksen/develop
Fix initial email with uppercase
2025-08-22 12:38:22 +10:00
JMDirksen
8a6d815152 Fix initial email with upper case 2025-07-20 08:36:43 +02:00

View File

@@ -21,7 +21,7 @@ const setupDefaultUser = () => {
.then((row) => {
if (!row || !row.id) {
// Create a new user and set password
const email = process.env.INITIAL_ADMIN_EMAIL || 'admin@example.com';
const email = (process.env.INITIAL_ADMIN_EMAIL || 'admin@example.com').toLowerCase();
const password = process.env.INITIAL_ADMIN_PASSWORD || 'changeme';
logger.info(`Creating a new user: ${email} with password: ${password}`);