diff --git a/app/Console/Commands/LdapSync.php b/app/Console/Commands/LdapSync.php index dddd2840cc..c97add7d1b 100755 --- a/app/Console/Commands/LdapSync.php +++ b/app/Console/Commands/LdapSync.php @@ -247,6 +247,7 @@ class LdapSync extends Command } } } + // Sync activated state for Active Directory. if ( !empty($ldap_result_active_flag)) { // IF we have an 'active' flag set.... // ....then *most* things that are truthy will activate the user. Anything falsey will deactivate them.