updated Bamboo references to Swoosh; added runtime.exs config file
This commit is contained in:
parent
721ba53c15
commit
d43daafdb7
11 changed files with 131 additions and 55 deletions
lib/shift73k_web/live
|
@ -40,7 +40,7 @@ defmodule Shift73kWeb.UserLive.Registration do
|
|||
|> Accounts.register_user()
|
||||
|> case do
|
||||
{:ok, user} ->
|
||||
{:ok, %Bamboo.Email{}} =
|
||||
{:ok, _, %Swoosh.Email{} = _captured_email} =
|
||||
Accounts.deliver_user_confirmation_instructions(
|
||||
user,
|
||||
&Routes.user_confirmation_url(socket, :confirm, &1)
|
||||
|
|
|
@ -33,7 +33,7 @@ defmodule Shift73kWeb.UserManagement.FormComponent do
|
|||
defp save_user(%{assigns: %{action: :new}} = socket, user_params) do
|
||||
case Accounts.register_user(user_params) do
|
||||
{:ok, user} ->
|
||||
{:ok, %Bamboo.Email{}} =
|
||||
{:ok, _, %Swoosh.Email{} = _captured_email} =
|
||||
Accounts.deliver_user_confirmation_instructions(
|
||||
user,
|
||||
&Routes.user_confirmation_url(socket, :confirm, &1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue