add vault default text option

This commit is contained in:
Victor Franzi 2019-09-25 21:24:41 +02:00
parent e2e365c681
commit 71d0fa6900

View file

@ -60,7 +60,7 @@ class Module(bumblebee.engine.Module):
def _reset(self): def _reset(self):
self._timer = None self._timer = None
self._text = "<click-for-password>" self._text = str(self.parameter("text", "<click-for-password>"))
def _callback(self, secret_name): def _callback(self, secret_name):
secret_name = secret_name.replace(self._path, "") # remove common path secret_name = secret_name.replace(self._path, "") # remove common path