mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
This will disallow groups from logging into the system.
This commit is contained in:
parent
572554b2a7
commit
7991524018
@ -322,7 +322,7 @@
|
|||||||
return False;
|
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;
|
return False;
|
||||||
exit;
|
exit;
|
||||||
|
@ -306,7 +306,7 @@
|
|||||||
return False;
|
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;
|
return False;
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user