You've already forked nginx-proxy-manager
							
							
				mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 04:11:42 +03:00 
			
		
		
		
	fix bugs preventing client rules from being updated
This commit is contained in:
		@@ -168,14 +168,15 @@ const internalAccessList = {
 | 
				
			|||||||
							}
 | 
												}
 | 
				
			||||||
						});
 | 
											});
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
								})
 | 
				
			||||||
 | 
								.then(() => {
 | 
				
			||||||
				// Check for clients and add/update/remove them
 | 
									// Check for clients and add/update/remove them
 | 
				
			||||||
				if (typeof data.clients !== 'undefined' && data.clients) {
 | 
									if (typeof data.clients !== 'undefined' && data.clients) {
 | 
				
			||||||
					let promises = [];
 | 
										let promises = [];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
					data.clients.map(function (client) {
 | 
										data.clients.map(function (client) {
 | 
				
			||||||
						if (client.address) {
 | 
											if (client.address) {
 | 
				
			||||||
							promises.push(accessListAuthModel
 | 
												promises.push(accessListClientModel
 | 
				
			||||||
								.query()
 | 
													.query()
 | 
				
			||||||
								.insert({
 | 
													.insert({
 | 
				
			||||||
									access_list_id: data.id,
 | 
														access_list_id: data.id,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user