Whitespace fix

This commit is contained in:
Dave 2017-03-20 10:14:42 +10:00 committed by GitHub
parent 9932e85775
commit 4b771eee8b

View File

@ -147,8 +147,7 @@ function ldapauth_is_valid_user( $value ) {
{
// are we checking group auth?
if (defined('LDAPAUTH_GROUP_ATTR') && defined('LDAPAUTH_GROUP_REQ')) {
if (!array_key_exists(LDAPAUTH_GROUP_ATTR, $searchResult[0])) die('Not in any LDAP groups');
if (!array_key_exists(LDAPAUTH_GROUP_ATTR, $searchResult[0])) die('Not in any LDAP groups');
$in_group = false;
$groups_to_check = explode(";", strtolower(LDAPAUTH_GROUP_REQ)); // This is now an array