ispman/install-data/templates users.ldif.template, 1.15.8.1, 1.15.8.2

Pedro Algarvio <[email protected]> Tue, 03 Oct 2006 16:52:22 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/install-data/templates
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv29174/install-data/templates

Modified Files:
      Tag: dev_1_3-cyrus_virtdomain2
	users.ldif.template 
Log Message:
Updated logic checks to the new LDAP based config.


Index: users.ldif.template
===================================================================
RCS file: /cvsroot/ispman/ispman/install-data/templates/users.ldif.template,v
retrieving revision 1.15.8.1
retrieving revision 1.15.8.2
diff -u -d -r1.15.8.1 -r1.15.8.2
--- users.ldif.template	3 Oct 2006 12:29:10 -0000	1.15.8.1
+++ users.ldif.template	3 Oct 2006 16:52:19 -0000	1.15.8.2
@@ -49,7 +49,7 @@
    $text="";
    if ($r->param("mailHost")){
       my $address="";
-      if ($ispman->getConf("AllowFullEmailLogins") == 1) {
+      if ( lc( $ispman->getConf("AllowFullEmailLogins") ) == 'yes') {
          $address=join '@', ($r->param("userid"), $r->param("ispmanDomain"));
       } else {
          $address=join '@', ($r->param("uid"), $r->param("mailHost"));


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV