Add anonymous and remote participations
This commit is contained in:
@@ -156,6 +156,28 @@ config :mobilizon, :maps,
|
||||
attribution: System.get_env("MAPS_TILES_ATTRIBUTION")
|
||||
]
|
||||
|
||||
config :mobilizon, :anonymous,
|
||||
participation: [
|
||||
allowed: true,
|
||||
validation: %{
|
||||
email: [
|
||||
enabled: true,
|
||||
confirmation_required: true
|
||||
],
|
||||
captcha: [enabled: false]
|
||||
}
|
||||
],
|
||||
event_creation: [
|
||||
allowed: false,
|
||||
validation: %{
|
||||
email: [
|
||||
enabled: true,
|
||||
confirmation_required: true
|
||||
],
|
||||
captcha: [enabled: false]
|
||||
}
|
||||
]
|
||||
|
||||
config :mobilizon, Oban,
|
||||
repo: Mobilizon.Storage.Repo,
|
||||
prune: {:maxlen, 10_000},
|
||||
|
||||
@@ -73,3 +73,5 @@ config :mobilizon, Mobilizon.Storage.Repo,
|
||||
port: System.get_env("MOBILIZON_DATABASE_PORT") || "5432",
|
||||
pool_size: 10,
|
||||
show_sensitive_data_on_connection_error: true
|
||||
|
||||
config :mobilizon, :activitypub, sign_object_fetches: false
|
||||
|
||||
@@ -18,7 +18,9 @@ config :mobilizon, Mobilizon.Web.Endpoint,
|
||||
# Print only warnings and errors during test
|
||||
config :logger,
|
||||
backends: [:console],
|
||||
compile_time_purge_level: :debug,
|
||||
compile_time_purge_matching: [
|
||||
[level_lower_than: :debug]
|
||||
],
|
||||
level: :info
|
||||
|
||||
# Configure your database
|
||||
|
||||
Reference in New Issue
Block a user