1
0
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-11-17 00:22:32 +01:00

Update ClientSettings.java changed showing client secret in logs back to hidden

This commit is contained in:
dskilly 2020-06-12 08:04:22 +00:00
parent 8ba1c6dd2f
commit 3afc953fcf

View File

@ -57,7 +57,7 @@ public final class ClientSettings {
public String toString() {
return "ClientSettings{" + "maxCacheSizeMib=" + maxCacheSizeMib + ", maxBandwidthMibPerHour="
+ maxBandwidthMibPerHour + ", maxBurstRateKibPerSecond=" + maxBurstRateKibPerSecond + ", clientPort="
+ clientPort + ", clientSecret='" + clientSecret + '\'' + ", threadsPerCpu=" + threadsPerCpu + '}';
+ clientPort + ", clientSecret='" + "<hidden>" + '\'' + ", threadsPerCpu=" + threadsPerCpu + '}';
}
public static boolean isSecretValid(String clientSecret) {