mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 01:15:14 +00:00 
			
		
		
		
	Make sure to lowercase email address entered by the user during login.
This commit is contained in:
		@@ -24,7 +24,7 @@ module.exports = {
 | 
			
		||||
 | 
			
		||||
		return userModel
 | 
			
		||||
			.query()
 | 
			
		||||
			.where('email', data.identity)
 | 
			
		||||
			.where('email', data.identity.toLowerCase().trim())
 | 
			
		||||
			.andWhere('is_deleted', 0)
 | 
			
		||||
			.andWhere('is_disabled', 0)
 | 
			
		||||
			.first()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user