mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
25 lines
681 B
Elixir
25 lines
681 B
Elixir
defmodule PowLockout.Phoenix.MailerTemplate do
|
|
@moduledoc false
|
|
use Pow.Phoenix.Mailer.Template
|
|
|
|
template(
|
|
:email_unlock,
|
|
"Unlock your account",
|
|
"""
|
|
Hi,
|
|
|
|
Your account has been automatically disabled due to too many unsuccessful
|
|
attempts to sign in.
|
|
|
|
Please use the following link to unlock your account:
|
|
|
|
<%= @url %>
|
|
""",
|
|
"""
|
|
<%= content_tag(:h3, "Hi,") %>
|
|
<%= content_tag(:p, "Your account has been automatically disabled due to too many unsuccessful attempts to sign in.") %>
|
|
<%= content_tag(:p, "Please use the following link to unlock your account:") %>
|
|
<%= content_tag(:p, link(@url, to: @url)) %>
|
|
"""
|
|
)
|
|
end
|