This will disallow groups from logging into the system.

This commit is contained in:
skeeter 2002-01-16 02:10:56 +00:00
parent 572554b2a7
commit 7991524018
2 changed files with 2 additions and 2 deletions

View File

@ -322,7 +322,7 @@
return False;
}
if (! $GLOBALS['phpgw']->auth->authenticate($this->account_lid, $this->passwd, $this->passwd_type))
if (! $GLOBALS['phpgw']->auth->authenticate($this->account_lid, $this->passwd, $this->passwd_type) || $GLOBALS['phpgw']->accounts->get_type($this->account_lid) == 'g')
{
return False;
exit;

View File

@ -306,7 +306,7 @@
return False;
}
if (! $GLOBALS['phpgw']->auth->authenticate($this->account_lid, $this->passwd, $this->passwd_type))
if (! $GLOBALS['phpgw']->auth->authenticate($this->account_lid, $this->passwd, $this->passwd_type) || $GLOBALS['phpgw']->accounts->get_type($this->account_lid) == 'g')
{
return False;
exit;