Files
WT-Offline/patches/gui/registration/open-local-page/replace-open.nut
T
N0VAN0M4LY d043a8f0f8 feat(accounts)!: require explicit local account registration
Open the local signup page in the game's embedded browser before sign-in. Return the existing login error for unknown accounts or invalid passwords.

BREAKING CHANGE: First-time players must register in the game's signup window or create a save in the launcher before signing in. Existing accounts can sign in with their saved credentials.
2026-11-29 18:00:21 +08:00

4 lines
239 B
Plaintext

let localRegistration = urlWithoutTags == "http://{{LOCAL_ENDPOINT}}/register"
let useEmbeddedBrowser = localRegistration || (!useExternalBrowser && !canUseSteamBrowser && hasFeat)
if (useEmbeddedBrowser && use_embedded_browser()) {