mirror of
https://github.com/unmojang/drasl.git
synced 2025-09-12 16:55:01 -04:00
Remove undocumented option AllowMultipleAccessTokens
This commit is contained in:
parent
c3f019db7d
commit
a27c0ed3c2
6
auth.go
6
auth.go
@ -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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user