mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 12:37:58 +01:00
12 lines
320 B
Elixir
12 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
|