From dcded608bfdc2a895aff75e6cb37df412d442d8a Mon Sep 17 00:00:00 2001 From: Peaceful James <66864163+peaceful-james@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:10:37 +0100 Subject: [PATCH] Update templates/live_views/authentication_live.ex Co-authored-by: Owen Bickford --- templates/live_views/authentication_live.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/live_views/authentication_live.ex b/templates/live_views/authentication_live.ex index 38651ef..1ff6a8a 100644 --- a/templates/live_views/authentication_live.ex +++ b/templates/live_views/authentication_live.ex @@ -168,7 +168,7 @@ defmodule <%= inspect @web_pascal_case %>.AuthenticationLive do def handle_info({:error, %{"message" => message, "name" => "NoUserVerifyingPlatformAuthenticatorAvailable"}}, socket) do socket |> assign(:token_form, nil) - |> put_toast(:error, message) + |> put_flash(:error, message) |> then(&{:noreply, &1}) end