fix: device ids optional until players update to client 1.3.0

A sign-in without device ids is let in unless AJ_REQUIRE_DEVICE=1. An
account seen on banned hardware is still refused, with the ban's reason,
when its client sends no ids. The privacy policy no longer says the
client cannot sign in without them.
This commit is contained in:
Burrowdev committed 2026-10-17 23:54:46 +03:00
1 parent 31cbd87ff8
commit 13c2f04d52
3 files changed
+11 -7

No files matched your search

+6 -4
View File
@@ -98,10 +98,12 @@ module.exports = {
// cached in cacheDir. set AJ_OFFLINE=1 to serve from the cache only.
upstreamContent: env.AJ_UPSTREAM || "https://ajcontent.akamaized.net/",
offline: env.AJ_OFFLINE === "1",
// the client's device ids (lib/devices.js): a sign-in without them (a
// client from before 1.3.0, the official launcher, or one that left them
// out) is refused. AJ_REQUIRE_DEVICE=0 lets them in, unknown.
requireDevice: env.AJ_REQUIRE_DEVICE !== "0",
// the client's device ids (lib/devices.js): with AJ_REQUIRE_DEVICE=1, a
// sign-in without them (a client from before 1.3.0, the official
// launcher, or one that left them out) is refused. off for now, while
// players update to 1.3.0: they are let in, and an account seen on banned
// hardware before is still kept out.
requireDevice: env.AJ_REQUIRE_DEVICE === "1",
deployVersion: env.AJ_DEPLOY_VERSION || "1830",
// older builds the CDN still serves, asked in turn for a room file the
// current build has dropped. 1828 is the last with the Summer Carnival.