1e5053c

Branches > facts > 1e5053c > files

Use random session id in login success packet

Grahp, 2026-08-18

Commit: 1e5053ce04343b90a319c6755c2202fb0816ae60
Parent: f9703b2

2 changed files:

src/net/bowmap/network/handle.clj modified (view file)

@@ -50,7 +50,7 @@            :profile {:uuid uuid                      :username username                      :properties []}-           :uuid uuid}))+           :session-id (random-uuid)}))   client)  (defmethod handler ::serverbound/login-acknowledged [client a pk]

src/net/bowmap/network/packets/clientbound.clj modified (view file)

@@ -190,7 +190,7 @@   {::status-response [:response "Response to serverbound ::status-request" json->]    ::pong-response [:timestamp "The same timestamp as serverbound ::ping-request" long->]    ::login-success [:profile game-profile->-                    :uuid uuid->]+                    :session-id uuid->]    ::known-packs [:known-packs (list-> [:namespace string->                                         :id string->                                         :version string->])]