diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-10 21:32:49 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-03-10 21:34:33 +0100 |
commit | 0850cc549b48f101a3c0393243c622598655ebdc (patch) | |
tree | b1b16822fc528f231481473af34bb76f68550b4e /interface-definitions/system-proxy.xml.in | |
parent | 5d4908288931c9c319eb428e99a35f8dc4a7b9d6 (diff) | |
download | vyos-1x-0850cc549b48f101a3c0393243c622598655ebdc.tar.gz vyos-1x-0850cc549b48f101a3c0393243c622598655ebdc.zip |
system: proxy: xml: T1843: re-use generic username and password building block
Diffstat (limited to 'interface-definitions/system-proxy.xml.in')
-rw-r--r-- | interface-definitions/system-proxy.xml.in | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/interface-definitions/system-proxy.xml.in b/interface-definitions/system-proxy.xml.in index 8fb6bfae5..f7ab31d7e 100644 --- a/interface-definitions/system-proxy.xml.in +++ b/interface-definitions/system-proxy.xml.in @@ -16,19 +16,8 @@ </properties> </leafNode> #include <include/port-number.xml.i> - <leafNode name="username"> - <properties> - <help>Proxy username</help> - <constraint> - <regex>[a-z0-9-_\.]{1,100}</regex> - </constraint> - </properties> - </leafNode> - <leafNode name="password"> - <properties> - <help>Proxy password</help> - </properties> - </leafNode> + #include <include/generic-username.xml.i> + #include <include/generic-password.xml.i> </children> </node> </children> |