mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-02-19 02:11:50 +01:00
log when access token is received
This commit is contained in:
parent
986fbb5a28
commit
47ed9ac071
@ -15,7 +15,6 @@ import io.ktor.server.websocket.*
|
||||
import kotlinx.coroutines.future.await
|
||||
import java.net.URLEncoder
|
||||
import java.time.Duration
|
||||
import java.time.Instant
|
||||
import java.util.*
|
||||
import kotlin.math.absoluteValue
|
||||
|
||||
@ -170,5 +169,6 @@ class WebLogin : WebState {
|
||||
}.body<JsonObject>()
|
||||
val uuid = parseUndashedId(profile["id"].asString)
|
||||
webClient.server.minecraftAccessTokens.put(uuid, accessToken)
|
||||
webLogger.info("Received token: {} {}", webClient.id, uuid)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user