mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-22 17:00:22 +00:00
Compare commits
2 Commits
dependabot
...
develop
Author | SHA1 | Date | |
---|---|---|---|
|
5b6ca1bf00 | ||
|
8a6d815152 |
@@ -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}`);
|
||||
|
Reference in New Issue
Block a user