#1576 min_seconds_between_registrations is misdocumented

Reporter kousu
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Component-Docs
  • Status-Fixed
  • Type-Defect
  • Priority-Medium
  1. 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

  2. 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.

    Changes
    • tags Status-Accepted
  3. Zash on

    https://hg.prosody.im/site/rev/3e2d2ea726cf

    Changes
    • owner Zash
    • tags Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.