#1576 min_seconds_between_registrations is misdocumented
Reporter
kousu
Owner
Zash
Created
Updated
Stars
★ (1)
Tags
Component-Docs
Status-Fixed
Type-Defect
Priority-Medium
kousu
on
Link to relevant page (if any): https://prosody.im/doc/public_servers
This claims in the `mod_register` section that you can
> Set min_seconds_between_registrations to a sensible value (this is a pe{r-IP rate limit).
I found that it's actually mod_register_limits that does this. So to make this work you need to:
modules_enabled = {
...
"register_limits";
...
}
min_seconds_between_registrations = 60*60*24
Zash
on
The code in mod_register_limits used to be part of mod_register until 0.11. mod_register is currently a meta-module that enables other modules, including mod_register_limits if registration has been enabled. The documentation has simply not been updated to reflect this yet. It should be.
Link to relevant page (if any): https://prosody.im/doc/public_servers This claims in the `mod_register` section that you can > Set min_seconds_between_registrations to a sensible value (this is a pe{r-IP rate limit). I found that it's actually mod_register_limits that does this. So to make this work you need to: modules_enabled = { ... "register_limits"; ... } min_seconds_between_registrations = 60*60*24
The code in mod_register_limits used to be part of mod_register until 0.11. mod_register is currently a meta-module that enables other modules, including mod_register_limits if registration has been enabled. The documentation has simply not been updated to reflect this yet. It should be.
Changeshttps://hg.prosody.im/site/rev/3e2d2ea726cf
Changes