From 42ea807d3fd96a53bbd47ba9fc1ca93a7a0d24b8 Mon Sep 17 00:00:00 2001 From: carbotaniuman <41451839+carbotaniuman@users.noreply.github.com> Date: Sun, 24 Jan 2021 14:06:48 -0600 Subject: [PATCH] Update --- src/main/kotlin/mdnet/server/ImageServer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/mdnet/server/ImageServer.kt b/src/main/kotlin/mdnet/server/ImageServer.kt index fef6a4a..cc82beb 100644 --- a/src/main/kotlin/mdnet/server/ImageServer.kt +++ b/src/main/kotlin/mdnet/server/ImageServer.kt @@ -283,7 +283,7 @@ fun getServer( val verifier = tokenVerifier( tokenKey = remoteSettings.tokenKey, shouldVerify = { chapter, _ -> - chapter != "1b682e7b24ae7dbdc5064eeeb8e8e353" && chapter != "8172a46adc798f4f4ace6663322a383e" + !remoteSettings.forceDisableTokens && !(chapter == "1b682e7b24ae7dbdc5064eeeb8e8e353" || chapter == "8172a46adc798f4f4ace6663322a383e") } )