summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-10 19:05:39 +0100
committerChristian Breunig <christian@breunig.cc>2023-02-10 19:05:39 +0100
commitabb45b2dac6d21899b47f792f887c42e757f0a2f (patch)
tree23ecc33e7ca64fbad3c5530261467ec773befab2 /python/vyos
parent7000d33d3dd275796cf0d9ac450a3af88168c907 (diff)
downloadvyos-1x-abb45b2dac6d21899b47f792f887c42e757f0a2f.tar.gz
vyos-1x-abb45b2dac6d21899b47f792f887c42e757f0a2f.zip
interfaces: T4995: rename user -> username CLI node for pppoe, wwan and sstp-client
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/configverify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/configverify.py b/python/vyos/configverify.py
index 63edacc81..30bdd2d47 100644
--- a/python/vyos/configverify.py
+++ b/python/vyos/configverify.py
@@ -233,7 +233,7 @@ def verify_authentication(config):
"""
if 'authentication' not in config:
return
- if not {'user', 'password'} <= set(config['authentication']):
+ if not {'username', 'password'} <= set(config['authentication']):
raise ConfigError('Authentication requires both username and ' \
'password to be set!')