diff options
author | Esa Varemo <esa@kuivanto.fi> | 2020-07-22 16:45:43 +0300 |
---|---|---|
committer | Esa Varemo <esa@kuivanto.fi> | 2020-07-22 16:45:43 +0300 |
commit | 4e6fbf8b7ec70fd3e0b5da8dedb6ea3efba3ec12 (patch) | |
tree | 78ffc84ede83314105e31c53ed8ce755449384ec /src/conf_mode/host_name.py | |
parent | 12235d1a83988d63c933d4bf69127b0405592485 (diff) | |
download | vyos-1x-4e6fbf8b7ec70fd3e0b5da8dedb6ea3efba3ec12.tar.gz vyos-1x-4e6fbf8b7ec70fd3e0b5da8dedb6ea3efba3ec12.zip |
T2725: Fix config parse for users without passwords
Fix for https://phabricator.vyos.net/T2725
T2492 / a07e22377ab83104ac925e13d1824f241f0f8d4a
introduced a change which broke the initialization of
the user dict. In case the config contained an user
without an encrypted-password set, the property would
be missing and the commit would crash with
`KeyError: 'password_encrypted'`
Diffstat (limited to 'src/conf_mode/host_name.py')
0 files changed, 0 insertions, 0 deletions