mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-08-04 07:07:16 +00:00
Merge pull request #4664 from JMDirksen/develop
Fix initial email with uppercase
This commit is contained in:
commit
5b6ca1bf00
1 changed files with 1 additions and 1 deletions
|
|
@ -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}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue