mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
11 lines
320 B
Elixir
11 lines
320 B
Elixir
defmodule PowLockout.Phoenix.Mailer do
|
|
@moduledoc false
|
|
alias Plug.Conn
|
|
alias Pow.Phoenix.Mailer.Mail
|
|
alias PowLockout.Phoenix.MailerView
|
|
|
|
@spec email_unlock(Conn.t(), map(), binary()) :: Mail.t()
|
|
def email_unlock(conn, user, url) do
|
|
Mail.new(conn, user, {MailerView, :email_unlock}, url: url)
|
|
end
|
|
end
|