Remove undocumented option AllowMultipleAccessTokens

This commit is contained in:
Evan Goode 2025-08-21 21:10:14 -04:00
parent c3f019db7d
commit a27c0ed3c2
2 changed files with 0 additions and 7 deletions

View File

@ -192,12 +192,6 @@ func AuthAuthenticate(app *App) func(c echo.Context) error {
user.Clients[i].Version += 1 user.Clients[i].Version += 1
client = user.Clients[i] client = user.Clients[i]
break 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
}
} }
} }

View File

@ -118,7 +118,6 @@ type importExistingPlayerConfig struct {
type BaseConfig struct { type BaseConfig struct {
AllowCapes bool AllowCapes bool
AllowChangingPlayerName bool AllowChangingPlayerName bool
AllowMultipleAccessTokens bool
AllowPasswordLogin bool AllowPasswordLogin bool
AllowSkins bool AllowSkins bool
AllowTextureFromURL bool AllowTextureFromURL bool