if value is a command, do not validate conditions
This commit is contained in:
parent
0e93b9ba38
commit
4dd2bbfb7b
1 changed files with 4 additions and 0 deletions
|
|
@ -163,6 +163,10 @@ class ValueBackendPassword(Value):
|
||||||
return Value.check_valid(self, passwd)
|
return Value.check_valid(self, passwd)
|
||||||
|
|
||||||
def set(self, passwd):
|
def set(self, passwd):
|
||||||
|
if self.is_command(passwd):
|
||||||
|
self._value = passwd
|
||||||
|
return
|
||||||
|
|
||||||
self.check_valid(passwd)
|
self.check_valid(passwd)
|
||||||
if passwd is None:
|
if passwd is None:
|
||||||
# no change
|
# no change
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue