Signatures are sent correctly

This commit is contained in:
Kodi Craft 2024-10-06 18:29:05 +02:00
parent e45258ba6f
commit 4ecf2d432f
Signed by: kodi
GPG Key ID: 69D9EED60B242822

View File

@ -127,7 +127,7 @@ defmodule Amethyst.ConnectionState.Login do
uuid: uuid,
username: response["name"],
properties: response["properties"] |>
Enum.map(fn prop -> %{name: prop["name"], value: prop["value"], signature: Map.get(prop, "signature") |> Base.decode64!} end),
Enum.map(fn prop -> %{name: prop["name"], value: prop["value"], signature: Map.get(prop, "signature")} end),
strict_error_handling: true
}})
Map.put(state, :authenticated, true)