From bdaa29a0bb6f20e8d0bc9d535d79f2c74721f458 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sun, 21 Jun 2026 19:38:20 +0200 Subject: [PATCH] [tutorial v1.1_240] Username is mandatory if a password is set --- foxyproxy/00-foxyproxy.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/foxyproxy/00-foxyproxy.yml b/foxyproxy/00-foxyproxy.yml index 12201fbb..694d63dc 100644 --- a/foxyproxy/00-foxyproxy.yml +++ b/foxyproxy/00-foxyproxy.yml @@ -71,6 +71,38 @@ proxies: - SOCKS4 - SOCKS5 + username: + description: Username + type: unix_user + mandatory: + variable: _.password + when_not: null + disabled: + jinja: |- + {{ _.type not in ['HTTP', 'HTTPS/SSL', 'SOCKS4', 'SOCKS5'] }} + return_type: boolean + description: |- + if type not in: + - HTTP + - HTTPS/SSL + - SOCKS4 + - SOCKS5 + + password: + description: Password + type: secret + mandatory: false + disabled: + jinja: |- + {{ _.type not in ['HTTP', 'HTTPS/SSL', 'SOCKS4', 'SOCKS5'] }} + return_type: boolean + description: |- + if type not in: + - HTTP + - HTTPS/SSL + - SOCKS4 + - SOCKS5 + url: description: URL type: web_address