From 4ecf2d432fd95845748fb5319bdef48e3036f660 Mon Sep 17 00:00:00 2001 From: Kodi Craft Date: Sun, 6 Oct 2024 18:29:05 +0200 Subject: [PATCH] Signatures are sent correctly --- apps/amethyst/lib/states/login.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/amethyst/lib/states/login.ex b/apps/amethyst/lib/states/login.ex index 13ae120..de0aeb3 100644 --- a/apps/amethyst/lib/states/login.ex +++ b/apps/amethyst/lib/states/login.ex @@ -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)