Your Name a89ed0c80c refactor: centralize SIGNUP_ALLOWLIST_EMAILS constant definition
Define environment variable name as a module attribute in BasicSignupAllowlist
and expose it via signup_allowlist_emails/0 function to eliminate duplication
across lib and test files.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-16 09:40:11 +00:00
2025-09-14 12:08:05 +01:00
2025-09-16 08:51:34 +00:00
2025-09-16 09:34:03 +00:00
2025-09-16 09:09:51 +00:00
2025-09-16 09:32:40 +00:00
2025-09-16 09:14:37 +00:00
2025-09-16 09:32:40 +00:00

BasicSignupAllowlist

Minimal function to restrict account creation for the first few accounts. Useful for deploying architectural spikes and bootstrapping.

Why? Phx Auth offers easy account creation, but no UI to manage created accounts, allowing spammers to create accounts. When putting demoes live, you don't necessarily want to create elaborate account management and invite systems first.

Installation

If available in Hex, the package can be installed by adding basic_signup_allow to your list of dependencies in mix.exs:

def deps do
  [
    {:basic_signup_allowlist, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/basic_signup_allowlist.

Description
Basic sign up whitelist for elixir - whitelist allowed addresses in an environment variable
Readme 71 KiB
Languages
Elixir 72.3%
Shell 27.7%