Signatures are sent correctly
This commit is contained in:
parent
e45258ba6f
commit
4ecf2d432f
@ -127,7 +127,7 @@ defmodule Amethyst.ConnectionState.Login do
|
|||||||
uuid: uuid,
|
uuid: uuid,
|
||||||
username: response["name"],
|
username: response["name"],
|
||||||
properties: response["properties"] |>
|
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
|
strict_error_handling: true
|
||||||
}})
|
}})
|
||||||
Map.put(state, :authenticated, true)
|
Map.put(state, :authenticated, true)
|
||||||
|
Loading…
Reference in New Issue
Block a user