mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	Allows auth information from AccessList not to be passed to proxied hosts. Resolves issue #153.
Signed-off-by: James Morgan <jmorgan.au+github@gmail.com>
This commit is contained in:
		| @@ -93,6 +93,10 @@ class AccessList extends Model { | ||||
| 	get satisfy() { | ||||
| 		return this.satisfy_any ? 'satisfy any' : 'satisfy all'; | ||||
| 	} | ||||
|  | ||||
| 	get passauth() { | ||||
| 		return this.pass_auth ? '' : 'proxy_set_header Authorization "";'; | ||||
| 	} | ||||
| } | ||||
|  | ||||
| module.exports = AccessList; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user