jabberd14 1.6.2
Functions
mod_register.cc File Reference

handles in-band registrations (XEP-0077) More...

#include "jsm.h"

Functions

void mod_register (jsmi si)

Detailed Description

handles in-band registrations (XEP-0077)

This module implements the functionality used to register and unregister accounts on the Jabber server and to change passwords.

It can be configured to send a welcome message to the user on successful registration.

Todo:
allow the admin to change passwords of other users and delete their accounts (XEP-0133?)

Function Documentation

void mod_register ( jsmi  si)

init the module, register callbacks

registers mod_register_new() as the callback for new user's registration requests, registers mod_register_server() as the callback for existing user's registration requests (unregister and change password)

Parameters:
sithe session manager instance

References e_DELETE, e_PRE_REGISTER, e_REGISTER, e_SERVER, js_mapi_register(), log_debug2, LOGT_INIT, and ZONE.