bundles/users: set cascade_skip=False if user has a password set

This commit is contained in:
Franzi 2022-02-25 15:05:05 +01:00
parent 2e94aabfa6
commit 908a6420b3
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -32,6 +32,7 @@ for username, attrs in node.metadata['users'].items():
if 'password' in attrs:
user['password'] = attrs['password']
user['cascade_skip'] = False
else:
user['password_hash'] = 'x' if node.use_shadow_passwords else '*'