fix: do not load secrets if not allowed

This commit is contained in:
egarette@silique.fr 2025-10-29 09:26:11 +01:00
parent cc790bb930
commit 8363580306

View file

@ -219,6 +219,7 @@ class UserDatas:
'the variable "{0}" contains secrets and should not be defined in {1}' 'the variable "{0}" contains secrets and should not be defined in {1}'
).format(path, self.values[values_path]["source"]) ).format(path, self.values[values_path]["source"])
) )
self.values.pop(path)
continue continue
value = self.convert_value( value = self.convert_value(
path, option, options, self.values[values_path]["values"] path, option, options, self.values[values_path]["values"]