diff --git a/lib/ash_authentication_phoenix/components/password/sign_in_form.ex b/lib/ash_authentication_phoenix/components/password/sign_in_form.ex index f7e1b37..ea6bd2e 100644 --- a/lib/ash_authentication_phoenix/components/password/sign_in_form.ex +++ b/lib/ash_authentication_phoenix/components/password/sign_in_form.ex @@ -65,6 +65,7 @@ defmodule AshAuthentication.Phoenix.Components.Password.SignInForm do id: "#{subject_name}-#{Strategy.name(strategy)}-#{strategy.sign_in_action_name}" |> slugify(), + tenant: socket.assigns[:current_tenant], context: %{strategy: strategy, private: %{ash_authentication?: true}} )