Skip to content

Commit 8a6d815

Browse files
committed
Fix initial email with upper case
1 parent 54d463a commit 8a6d815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const setupDefaultUser = () => {
2121
.then((row) => {
2222
if (!row || !row.id) {
2323
// Create a new user and set password
24-
const email = process.env.INITIAL_ADMIN_EMAIL || '[email protected]';
24+
const email = (process.env.INITIAL_ADMIN_EMAIL || '[email protected]').toLowerCase();
2525
const password = process.env.INITIAL_ADMIN_PASSWORD || 'changeme';
2626

2727
logger.info('Creating a new user: ' + email + ' with password: ' + password);

0 commit comments

Comments
 (0)