bundles/users: set cascade_skip=False if user has a password set
This commit is contained in:
parent
2e94aabfa6
commit
908a6420b3
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ for username, attrs in node.metadata['users'].items():
|
||||||
|
|
||||||
if 'password' in attrs:
|
if 'password' in attrs:
|
||||||
user['password'] = attrs['password']
|
user['password'] = attrs['password']
|
||||||
|
user['cascade_skip'] = False
|
||||||
else:
|
else:
|
||||||
user['password_hash'] = 'x' if node.use_shadow_passwords else '*'
|
user['password_hash'] = 'x' if node.use_shadow_passwords else '*'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue