Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5b6ca1b

Browse files
authored
Merge pull request #4664 from JMDirksen/develop
Fix initial email with uppercase
2 parents 5039738 + 8a6d815 commit 5b6ca1b

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 || 'admin@example.com';
24+
const email = (process.env.INITIAL_ADMIN_EMAIL || 'admin@example.com').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)

AltStyle によって変換されたページ (->オリジナル) /