You've already forked nginx-proxy-manager
							
							
				mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-30 18:05:34 +03:00 
			
		
		
		
	Merge pull request #4664 from JMDirksen/develop
Fix initial email with uppercase
This commit is contained in:
		| @@ -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