mirror of
https://github.com/Telecominfraproject/ols-ucentral-schema.git
synced 2025-10-29 09:12:20 +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 }}
|
||||
{% endif %}
|
||||
|
||||
{% if (captive.auth_mode == 'credentials'): %}
|
||||
{% for (let cred in captive.credentials): %}
|
||||
{% if (config.auth_mode == 'credentials'): %}
|
||||
{% for (let cred in config.credentials): %}
|
||||
add uspot credentials
|
||||
set uspot.@credentials[-1].username={{ s(cred.username) }}
|
||||
set uspot.@credentials[-1].password={{ s(cred.password) }}
|
||||
|
||||
Reference in New Issue
Block a user