Merge pull request #444 from rotsix/master

add vault default text option
This commit is contained in:
tobi-wan-kenobi 2019-09-26 20:12:34 +02:00 committed by GitHub
commit 7237f95e2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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