mirror of
				https://github.com/Telecominfraproject/ols-ucentral-schema.git
				synced 2025-10-31 01:58:03 +00:00 
			
		
		
		
	captive: fix credentials configuration
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
		| @@ -54,8 +54,8 @@ set uspot.{{ section }}.acct_secret={{ s(config.acct_secret) }} | |||||||
| set uspot.{{ section }}.acct_interval={{ config.acct_interval }} | set uspot.{{ section }}.acct_interval={{ config.acct_interval }} | ||||||
| {% endif %} | {% endif %} | ||||||
|  |  | ||||||
| {% if (captive.auth_mode == 'credentials'): %} | {% if (config.auth_mode == 'credentials'): %} | ||||||
| {%   for (let cred in captive.credentials): %} | {%   for (let cred in config.credentials): %} | ||||||
| add uspot credentials | add uspot credentials | ||||||
| set uspot.@credentials[-1].username={{ s(cred.username) }} | set uspot.@credentials[-1].username={{ s(cred.username) }} | ||||||
| set uspot.@credentials[-1].password={{ s(cred.password) }} | set uspot.@credentials[-1].password={{ s(cred.password) }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin