Packages

Provides a full user authentication experience for an API. Includes login,logout,register,forgot password, forgot username, confirmation email and all that other good stuff. Includes plug for checking for authenticated users and macro for generating the required routes.

Current section

Files

Jump to
access_pass lib access_pass repo.ex
Raw

lib/access_pass/repo.ex

defmodule AccessPass.Repo do
@moduledoc false
if Application.get_env(:access_pass, :repo) == nil do
use Ecto.Repo, otp_app: :access_pass
end
end