mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 01:15:14 +00:00 
			
		
		
		
	Fix inconsistencies between int and bool in db
This commit is contained in:
		@@ -69,8 +69,8 @@ func checkSetup() {
 | 
			
		||||
 | 
			
		||||
	if db != nil {
 | 
			
		||||
		db.Model(&user.Model{}).
 | 
			
		||||
			Where("is_disabled = ?", 0).
 | 
			
		||||
			Where("is_system = ?", 0).
 | 
			
		||||
			Where("is_disabled = ?", false).
 | 
			
		||||
			Where("is_system = ?", false).
 | 
			
		||||
			Count(&count)
 | 
			
		||||
 | 
			
		||||
		if count == 0 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user