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:
parent
32b2c941df
commit
85fcf63dd8
1 changed files with 14 additions and 4 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue