fix: use url/1 in password reset tokens

This commit is contained in:
Zach Daniel 2023-02-23 17:40:44 -05:00
parent 4839b08b7e
commit 98640353e2

View file

@ -8,7 +8,7 @@ defmodule AshHq.Accounts.User.Senders.SendPasswordResetEmail do
def send(user, token, _) do
AshHq.Accounts.Emails.deliver_reset_password_instructions(
user,
~p"/password-reset/#{token}"
url(~p"/password-reset/#{token}")
)
end
end