|
jabberd14 1.6.2
|
checks new user registrations against a policy for allowed/forbidden usernames More...
#include "jsm.h"Functions | |
| void | mod_useridpolicy (jsmi si) |
checks new user registrations against a policy for allowed/forbidden usernames
This module allows the administrator to block some user-names from being registered by users.
| void mod_useridpolicy | ( | 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)
| si | the session manager instance |
References e_PRE_REGISTER, js_mapi_register(), log_debug2, LOGT_INIT, and ZONE.
1.7.4