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
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user