From a27c0ed3c280d78f3918c0c72a39b889e6cc8e81 Mon Sep 17 00:00:00 2001 From: Evan Goode Date: Thu, 21 Aug 2025 21:10:14 -0400 Subject: [PATCH] Remove undocumented option AllowMultipleAccessTokens --- auth.go | 6 ------ config.go | 1 - 2 files changed, 7 deletions(-) diff --git a/auth.go b/auth.go index c86c389..3fd509a 100644 --- a/auth.go +++ b/auth.go @@ -192,12 +192,6 @@ func AuthAuthenticate(app *App) func(c echo.Context) error { user.Clients[i].Version += 1 client = user.Clients[i] break - } else { - // If AllowMultipleAccessTokens is disabled, invalidate all - // clients associated with the same player - if !app.Config.AllowMultipleAccessTokens && NullStringToOption(&user.Clients[i].PlayerUUID) == playerUUID { - user.Clients[i].Version += 1 - } } } diff --git a/config.go b/config.go index a1a37f3..79587aa 100644 --- a/config.go +++ b/config.go @@ -118,7 +118,6 @@ type importExistingPlayerConfig struct { type BaseConfig struct { AllowCapes bool AllowChangingPlayerName bool - AllowMultipleAccessTokens bool AllowPasswordLogin bool AllowSkins bool AllowTextureFromURL bool