diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc index 359261d8e..ff91c0e13 100644 --- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -394,6 +394,8 @@ function local_sync_accounts() function local_user_set(&$user, $force_unlock = false) { + global $config; + if (empty($user['password'])) { log_error(sprintf( gettext('There is something wrong in your config because user %s password is missing!'),