mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-01 05:57:50 +01:00
Fixed config pass filter in debug response
This commit is contained in:
parent
5162f70e0c
commit
28865e24ff
@ -89,7 +89,7 @@ public class DebugPageResponse extends ErrorResponse {
|
||||
if (configFile.exists()) {
|
||||
content.append("<pre>### config.yml<br>```<br>");
|
||||
FileUtil.lines(configFile, Charset.forName("UTF-8"))
|
||||
.stream().filter(line -> line.toLowerCase().contains("pass"))
|
||||
.stream().filter(line -> !line.toLowerCase().contains("pass"))
|
||||
.forEach(line -> content.append(line).append("<br>"));
|
||||
content.append("```</pre>");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user