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


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

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

Modified Files:
      Tag: Version-0_9_14-branch
        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.2.2.1
diff -C2 -r1.2 -r1.2.2.1
*** class.sessions_db.inc.php   13 Jan 2002 04:06:40 -0000      1.2
--- class.sessions_db.inc.php   16 Jan 2002 02:11:20 -0000      1.2.2.1
***************
*** 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.6.2.1
diff -C2 -r1.6 -r1.6.2.1
*** class.sessions_php4.inc.php 13 Jan 2002 04:06:40 -0000      1.6
--- class.sessions_php4.inc.php 16 Jan 2002 02:11:20 -0000      1.6.2.1
***************
*** 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]