Document registration settings

Registration can be disabled for the entire instance or blocked from certain
IPs (e.g. botnets trying to flood mailboxes with registration mails from all
online services they can find)
This commit is contained in:
Daniel Friesel 2021-09-12 11:43:56 +02:00
parent 32b2c941df
commit 85fcf63dd8
No known key found for this signature in database
GPG key ID: 100D5BFB5166E005

View file

@ -37,10 +37,9 @@
},
mail => {
# If you want to disable outgoing mail for development purposes,
# uncomment the following line. Mails will instead be logged as
# Mojolicious "info" messages, causing their content to be printed on
# stdout.
# To disable outgoing mail for development purposes, uncomment the
# following line. Mails will instead be logged as Mojolicious "info"
# messages, causing their content to be printed on stdout.
## disabled => 1,
# Otherwise, specify the sender ("From" field) for mail sent by travelynx
@ -48,6 +47,17 @@
from => die("Changeme!"),
},
registration => {
# To disable registration for your instance, uncomment the following
# line.
## disabled => 1,
# To block registration from certain IPs, uncomment the following line
# and point it to a file containing one IPv4 or IPv6 address per line.
# Blocking IP ranges is not supported.
## denylist => "denylist.txt",
},
# Links to source code and issue tracker shown on the about page.
# Please change them if you are using a fork.
ref => {