From 72aa27ede5f265fe976f8e9935239aed9930ff3a Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 13 Mar 2013 09:02:31 -0500 Subject: Allow m_ldap_authentication to block email changes if emails are controlled by ldap, don't tell users they must change their email during initial user registration --- data/modules.example.conf | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'data') diff --git a/data/modules.example.conf b/data/modules.example.conf index fea868c02..8d1ba902b 100644 --- a/data/modules.example.conf +++ b/data/modules.example.conf @@ -247,10 +247,16 @@ m_ldap_authentication disable_ns_register = false /* - * The reason to give the users who try to "/msg NickServ REGISTER" if - * disable_ns_register is enabled. + * If set, the reason to give the users who try to "/msg NickServ REGISTER". + * If not set, then registration is not blocked. + */ + #disable_register_reason = "To register on this network visit http://some.misconfigured.site/register" + + /* + * If set, the reason to give the users who try to "/msg NickServ SET EMAIL". + * If not set, then email changing is not blocked. */ - #disable_reason = "To register on this network, visit http://some.misconfigured.site/register" + #disable_email_reason = "To change your email address visit http://some.misconfigured.site" } /* -- cgit