summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-07-22 21:11:52 +0700
committerGitHub <noreply@github.com>2020-07-22 21:11:52 +0700
commit632b3693097f665464d3072da138eb9a7e370309 (patch)
tree78ffc84ede83314105e31c53ed8ce755449384ec
parent12235d1a83988d63c933d4bf69127b0405592485 (diff)
parent4e6fbf8b7ec70fd3e0b5da8dedb6ea3efba3ec12 (diff)
downloadvyos-1x-632b3693097f665464d3072da138eb9a7e370309.tar.gz
vyos-1x-632b3693097f665464d3072da138eb9a7e370309.zip
Merge pull request #516 from varesa/T2725-fix-system-login
T2725: Fix config parse for users without passwords
-rwxr-xr-xsrc/conf_mode/system-login.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/system-login.py b/src/conf_mode/system-login.py
index 93d4cc679..b1dd583b5 100755
--- a/src/conf_mode/system-login.py
+++ b/src/conf_mode/system-login.py
@@ -72,7 +72,7 @@ def get_config():
user = {
'name': username,
'password_plaintext': '',
- 'password_encred': '!',
+ 'password_encrypted': '!',
'public_keys': [],
'full_name': '',
'home_dir': '/home/' + username,