diff --git a/documentation/tutorials/confirmation.md b/documentation/tutorials/confirmation.md index fefaaf3a..b45049d9 100644 --- a/documentation/tutorials/confirmation.md +++ b/documentation/tutorials/confirmation.md @@ -69,7 +69,7 @@ defmodule MyApp.NewUserConfirmationSender do use AshAuthentication.Sender import Swoosh.Email - def send(user, token, _opts) do + def send(user, confirm, _opts) do new() |> to(to_string(user.email)) |> from({"MyApp Admin", "support@myapp.inc"}) @@ -82,7 +82,7 @@ defmodule MyApp.NewUserConfirmationSender do If it was you, then please click the link below to confirm your identity. If you did not initiate this request then please ignore this email.
- Click here to confirm your account + Click here to confirm your account
""") |> MyApp.Mailer.deliver()