summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-10 23:21:16 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-11 11:25:13 +0200
commit53932650928688188aa8a5b122293165959f426f (patch)
tree4b825dbe778f583417c1caf5cebc1a9c107c186f /src
parentc39968861c97b4674031299c3e7dc8a32189528a (diff)
downloadvyos-1x-53932650928688188aa8a5b122293165959f426f.tar.gz
vyos-1x-53932650928688188aa8a5b122293165959f426f.zip
vpn: sstp: T2008: improve error message for non existent local-users
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/vpn_sstp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_sstp.py b/src/conf_mode/vpn_sstp.py
index 8bafa0e61..95bf12bb5 100755
--- a/src/conf_mode/vpn_sstp.py
+++ b/src/conf_mode/vpn_sstp.py
@@ -282,7 +282,7 @@ def verify(sstp):
# vertify auth settings
if sstp['auth_mode'] == 'local':
if not sstp['local_users']:
- raise ConfigError('sstp-server authentication local-users required')
+ raise ConfigError('SSTP local auth mode requires local users to be configured!')
for user in sstp['local_users']:
if not user['password']: