Signatures are sent correctly
This commit is contained in:
parent
e45258ba6f
commit
4ecf2d432f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user