philomena/lib/pow_lockout/phoenix/messages.ex

14 lines
377 B
Elixir
Raw Normal View History

2019-11-15 03:40:35 +01:00
defmodule PowLockout.Phoenix.Messages do
@moduledoc false
@doc """
Flash message to show when account has been unlocked.
"""
def account_has_been_unlocked(_conn), do: "Account successfully unlocked. You may now log in."
@doc """
Flash message to show when account couldn't be unlocked.
"""
def account_unlock_failed(_conn), do: "Account unlock failed."
end