mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2026-02-01 16:34:13 +01:00
Remove username and password from config log (#756)
This commit is contained in:
@@ -105,7 +105,9 @@ fun applicationSetup() {
|
||||
logger.info("Running Tachidesk ${BuildConfig.VERSION} revision ${BuildConfig.REVISION}")
|
||||
|
||||
logger.debug {
|
||||
"Loaded config:\n" + GlobalConfigManager.config.root().render(ConfigRenderOptions.concise().setFormatted(true))
|
||||
"Loaded config:\n" +
|
||||
GlobalConfigManager.config.root().render(ConfigRenderOptions.concise().setFormatted(true))
|
||||
.replace(Regex("(\"basicAuth(?:Username|Password)\"\\s:\\s)(?!\"\")\".*\""), "$1\"******\"")
|
||||
}
|
||||
|
||||
DI.global.addImport(
|
||||
|
||||
Reference in New Issue
Block a user