Pow v0.1.0-alpha.1 Pow.Phoenix.Messages behaviour View Source
Module that handles messages.
Usage
defmodule MyAppWeb.Pow.Messages do
use Pow.Phoenix.Messages
import MyAppWeb.Gettext
def signed_out(_conn), do: gettext("Signed out successfullly.")
end
Remember to add messages_backend: MyAppWeb.Pow.Messages
to your
configuration.
Link to this section Summary
Link to this section Functions
Link to this section Callbacks
Link to this callback
invalid_credentials(arg0)
View Source
invalid_credentials(Plug.Conn.t()) :: binary()
Link to this callback
user_could_not_be_deleted(arg0)
View Source
user_could_not_be_deleted(Plug.Conn.t()) :: binary()
Link to this callback
user_has_been_created(arg0)
View Source
user_has_been_created(Plug.Conn.t()) :: binary()
Link to this callback
user_has_been_deleted(arg0)
View Source
user_has_been_deleted(Plug.Conn.t()) :: binary()
Link to this callback
user_has_been_updated(arg0)
View Source
user_has_been_updated(Plug.Conn.t()) :: binary()