Current section

Files

Jump to
curator priv templates curator.database_authenticatable.install database_authenticatable.ex
Raw

priv/templates/curator.database_authenticatable.install/database_authenticatable.ex

defmodule <%= inspect context.web_module %>.Auth.DatabaseAuthenticatable do
use Curator.DatabaseAuthenticatable,
otp_app: :<%= Mix.Phoenix.otp_app() %>,
curator: <%= inspect context.web_module %>.Auth.Curator
def find_user_by_email(email) do
<%= inspect context.module %>.find_user_by_email(email)
end
end