Software / code / prosody
Comparison
plugins/mod_register.lua @ 8485:0e02c6de5c02
mod_register_ibr: Split out throttling and IP limitations into mod_register_limits (#723)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 09 Dec 2017 19:35:08 +0100 |
| parent | 8484:f591855f060d |
| child | 9608:3e44b8dc2cc0 |
comparison
equal
deleted
inserted
replaced
| 8484:f591855f060d | 8485:0e02c6de5c02 |
|---|---|
| 9 | 9 |
| 10 local allow_registration = module:get_option_boolean("allow_registration", false); | 10 local allow_registration = module:get_option_boolean("allow_registration", false); |
| 11 | 11 |
| 12 if allow_registration then | 12 if allow_registration then |
| 13 module:depends("register_ibr"); | 13 module:depends("register_ibr"); |
| 14 module:depends("register_limits"); | |
| 14 end | 15 end |
| 15 | 16 |
| 16 module:depends("user_account_management"); | 17 module:depends("user_account_management"); |