From 3cabfd5164087c7bd457b364be66dfe78e2d5e27 Mon Sep 17 00:00:00 2001
From: dan-klasson
Date: Sun, 14 Jul 2024 13:17:34 +0800
Subject: [PATCH] Change token to confirm for confirm new user url
---
documentation/tutorials/confirmation.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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()