Software /
code /
prosody
Changeset
8194:ba9cd8447578
mod_register: Add comments saying which section handles password change, account deletion and which is in-band registration
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 24 Aug 2017 21:51:11 +0200 |
parents | 8193:bb0118e46c45 |
children | 8195:3accfae91946 |
files | plugins/mod_register.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_register.lua Tue Jul 25 22:01:16 2017 +0200 +++ b/plugins/mod_register.lua Thu Aug 24 21:51:11 2017 +0200 @@ -91,6 +91,7 @@ features:add_child(register_stream_feature); end); +-- Password change and account deletion handler local function handle_registration_stanza(event) local session, stanza = event.origin, event.stanza; local log = session.log or module._log; @@ -207,6 +208,7 @@ return throttle:poll(1); end +-- In-band registration module:hook("stanza/iq/jabber:iq:register:query", function(event) local session, stanza = event.origin, event.stanza; local log = session.log or module._log;