diff --git a/elixir/apps/web/lib/web/components/core_components.ex b/elixir/apps/web/lib/web/components/core_components.ex
index b0eab33d1..007a37582 100644
--- a/elixir/apps/web/lib/web/components/core_components.ex
+++ b/elixir/apps/web/lib/web/components/core_components.ex
@@ -345,7 +345,8 @@ defmodule Web.CoreComponents do
class={[
"p-4 text-sm flash-#{@kind}",
@kind == :success && "text-green-800 bg-green-50",
- @kind == :info && "text-yellow-800 bg-yellow-50",
+ @kind == :info && "text-blue-800 bg-blue-50",
+ @kind == :warning && "text-yellow-800 bg-yellow-50",
@kind == :error && "text-red-800 bg-red-50",
@style != "wide" && "mb-4 rounded"
]}
@@ -937,7 +938,15 @@ defmodule Web.CoreComponents do
end
def get_identity_email(identity) do
- get_in(identity.provider_state, ["userinfo", "email"]) || identity.provider_identifier
+ provider_email(identity) || identity.provider_identifier
+ end
+
+ def identity_has_email?(identity) do
+ not is_nil(provider_email(identity)) || identity.provider.adapter == :email
+ end
+
+ defp provider_email(identity) do
+ get_in(identity.provider_state, ["userinfo", "email"])
end
attr :account, :any, required: true
diff --git a/elixir/apps/web/lib/web/components/page_components.ex b/elixir/apps/web/lib/web/components/page_components.ex
index baf762c5e..4a64356e4 100644
--- a/elixir/apps/web/lib/web/components/page_components.ex
+++ b/elixir/apps/web/lib/web/components/page_components.ex
@@ -32,7 +32,7 @@ defmodule Web.PageComponents do
-
+
<.flash kind={:info} flash={Map.get(content, :flash)} style="wide" />
<.flash kind={:error} flash={Map.get(content, :flash)} style="wide" />
diff --git a/elixir/apps/web/lib/web/live/actors/show.ex b/elixir/apps/web/lib/web/live/actors/show.ex
index e191fe236..1de2544ab 100644
--- a/elixir/apps/web/lib/web/live/actors/show.ex
+++ b/elixir/apps/web/lib/web/live/actors/show.ex
@@ -123,6 +123,18 @@ defmodule Web.Actors.Show do
<:col :let={identity} label="LAST SIGNED IN" sortable="false">
<.relative_datetime datetime={identity.last_seen_at} />
+ <:action :let={identity}>
+
+
<:action :let={identity}>