24 lines
871 B
Markdown
24 lines
871 B
Markdown
# 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](https://hex.pm/docs/publish), the package can be installed
|
|
by adding `basic_signup_allow` to your list of dependencies in `mix.exs`:
|
|
|
|
```elixir
|
|
def deps do
|
|
[
|
|
{:basic_signup_allowlist, "~> 0.1.0"}
|
|
]
|
|
end
|
|
```
|
|
|
|
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
|
|
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
|
|
be found at <https://hexdocs.pm/basic_signup_allowlist>.
|
|
|