mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-03 19:04:39 -05:00
Add auth to log protection (#1501)
This commit is contained in:
@@ -214,7 +214,7 @@ fun applicationSetup() {
|
|||||||
.root()
|
.root()
|
||||||
.render(ConfigRenderOptions.concise().setFormatted(true))
|
.render(ConfigRenderOptions.concise().setFormatted(true))
|
||||||
.replace(
|
.replace(
|
||||||
Regex("(\"basicAuth(?:Username|Password)\"\\s:\\s)(?!\"\")\".*\""),
|
Regex("(\"(?:basicAuth|auth)(?:Username|Password)\"\\s:\\s)(?!\"\")\".*\""),
|
||||||
"$1\"******\"",
|
"$1\"******\"",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user