ispman/lib/ISPMan UserMan.pm,1.58.4.1,1.58.4.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/lib/ISPMan
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv29174/lib/ISPMan

Modified Files:
      Tag: dev_1_3-cyrus_virtdomain2
	UserMan.pm 
Log Message:
Updated logic checks to the new LDAP based config.


Index: UserMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/UserMan.pm,v
retrieving revision 1.58.4.1
retrieving revision 1.58.4.2
diff -u -d -r1.58.4.1 -r1.58.4.2
--- UserMan.pm	3 Oct 2006 12:29:10 -0000	1.58.4.1
+++ UserMan.pm	3 Oct 2006 16:52:20 -0000	1.58.4.2
@@ -175,7 +175,7 @@
     if ( $self->addDataFromLdif( "templates/users.ldif.template", $r ) ) {
         if ( $r->param("mailHost") ) {
             my $quota=$r->param("mailQuota") * 1024;
-            if ( $ISPMan::Config->{'AllowFullEmailLogins'} ) {
+            if ( lc( $ISPMan::Config->{'AllowFullEmailLogins'} ) == 'yes' {
                 my $cvd_uid = join '@', ( $r->param("userid"), $r->param("ispmanDomain") );
                 $self->addProcessToHost(
                     $domain, $r->param("mailHost"),"createMailbox", "mailbox=$cvd_uid"


-------------------------------------------------------------------------
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