mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Redact some passwords in plugins
This commit is contained in:
parent
b621fd439b
commit
07516b2bca
3 changed files with 3 additions and 0 deletions
|
|
@ -1153,6 +1153,7 @@ class BPDPlugin(BeetsPlugin):
|
|||
'password': u'',
|
||||
'volume': VOLUME_MAX,
|
||||
})
|
||||
self.config['password'].redact = True
|
||||
|
||||
def start_bpd(self, lib, host, port, password, volume, debug):
|
||||
"""Starts a BPD server."""
|
||||
|
|
|
|||
|
|
@ -329,6 +329,7 @@ class MPDStatsPlugin(plugins.BeetsPlugin):
|
|||
'port': 6600,
|
||||
'password': u'',
|
||||
})
|
||||
mpd_config['password'].redact = True
|
||||
|
||||
def commands(self):
|
||||
cmd = ui.Subcommand(
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ class MPDUpdatePlugin(BeetsPlugin):
|
|||
'port': 6600,
|
||||
'password': u'',
|
||||
})
|
||||
config['mpd']['password'].redact = True
|
||||
|
||||
# For backwards compatibility, use any values from the
|
||||
# plugin-specific "mpdupdate" section.
|
||||
|
|
|
|||
Loading…
Reference in a new issue