phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc class.sessions_db.inc.php,1.2,1.3 c


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.sessions_db.inc.php,1.2,1.3 class.sessions_php4.inc.php,1.6,1.7
Date: Tue, 15 Jan 2002 21:10:58 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv4772/phpgwapi/inc

Modified Files:
        class.sessions_db.inc.php class.sessions_php4.inc.php 
Log Message:
This will disallow groups from logging into the system.

Index: class.sessions_db.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.sessions_db.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** class.sessions_db.inc.php   13 Jan 2002 04:06:40 -0000      1.2
--- class.sessions_db.inc.php   16 Jan 2002 02:10:56 -0000      1.3
***************
*** 323,327 ****
                        }
  
!                       if (! 
$GLOBALS['phpgw']->auth->authenticate($this->account_lid, $this->passwd, 
$this->passwd_type))
                        {
                                return False;
--- 323,327 ----
                        }
  
!                       if (! 
$GLOBALS['phpgw']->auth->authenticate($this->account_lid, $this->passwd, 
$this->passwd_type) || 
$GLOBALS['phpgw']->accounts->get_type($this->account_lid) == 'g')
                        {
                                return False;

Index: class.sessions_php4.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.sessions_php4.inc.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** class.sessions_php4.inc.php 13 Jan 2002 04:06:40 -0000      1.6
--- class.sessions_php4.inc.php 16 Jan 2002 02:10:56 -0000      1.7
***************
*** 307,311 ****
                        }
  
!                       if (! 
$GLOBALS['phpgw']->auth->authenticate($this->account_lid, $this->passwd, 
$this->passwd_type))
                        {
                                return False;
--- 307,311 ----
                        }
  
!                       if (! 
$GLOBALS['phpgw']->auth->authenticate($this->account_lid, $this->passwd, 
$this->passwd_type) || 
$GLOBALS['phpgw']->accounts->get_type($this->account_lid) == 'g')
                        {
                                return False;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]