From 908a6420b3f1f2c75ff7af93b87bc22cc2d00533 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 25 Feb 2022 15:05:05 +0100 Subject: [PATCH] bundles/users: set cascade_skip=False if user has a password set --- bundles/users/items.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/users/items.py b/bundles/users/items.py index 457c46a..f6075fc 100644 --- a/bundles/users/items.py +++ b/bundles/users/items.py @@ -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 '*'