forked from extern/egroupware
This will disallow groups from logging into the system.
This commit is contained in:
parent
572554b2a7
commit
7991524018
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user