fix bug with public registration
This commit is contained in:
@@ -42,6 +42,8 @@ config :memex, Memex.Repo,
|
||||
pool_size: String.to_integer(System.get_env("POOL_SIZE", "10")),
|
||||
socket_options: maybe_ipv6
|
||||
|
||||
config :memex, Memex.Accounts, registration: System.get_env("REGISTRATION", "invite")
|
||||
|
||||
config :memex, MemexWeb.Endpoint,
|
||||
url: [scheme: "https", host: host, port: 443],
|
||||
http: [
|
||||
@@ -50,8 +52,7 @@ config :memex, MemexWeb.Endpoint,
|
||||
ip: interface,
|
||||
port: String.to_integer(System.get_env("PORT", "4000"))
|
||||
],
|
||||
server: true,
|
||||
registration: System.get_env("REGISTRATION", "invite")
|
||||
server: true
|
||||
|
||||
if config_env() == :prod do
|
||||
# The secret key base is used to sign/encrypt cookies and other secrets.
|
||||
|
||||
Reference in New Issue
Block a user