implemented optional 'allow_registration' config, with first registered user being pre-confirmed Admin, registration unavailable after that point if allow_registration: :false

This commit is contained in:
Adam Piontek 2022-08-14 09:14:42 -04:00
parent ea74a89078
commit f27df8d676
22 changed files with 395 additions and 244 deletions

View file

@ -16,7 +16,8 @@ config :shift73k,
config :shift73k, :app_global_vars,
time_zone: "America/New_York",
mailer_reply_to: "reply_to@example.com",
mailer_from: "app_name@example.com"
mailer_from: "app_name@example.com",
allow_registration: :true
# Configures the endpoint
config :shift73k, Shift73kWeb.Endpoint,