Skip to content
Snippets Groups Projects
Commit 2986c2f3 authored by Neil Drumm's avatar Neil Drumm :wave:
Browse files

Issue #3448936: Try some normalization to match formatting

parent 7b8448fa
Branches
Tags
2 merge requests!312Issue # 3494493: Documentation: Document Maintainer Widget,!299Remove heroes from components field. Update CTA section and add variants.
......@@ -2156,8 +2156,8 @@ function drush_drupalorg_keycloak_integrity_check($log_filename = null) {
$drupal_user->mail,
(bool) $drupal_user->status,
$drupal_user->created,
$drupal_user->timezone,
!empty($drupal_user->firstname) ? $drupal_user->firstname : '',
(string) $drupal_user->timezone,
!empty($drupal_user->firstname) ? mb_convert_encoding($drupal_user->firstname, 'ASCII', 'UTF-8') : '',
!empty($drupal_user->lastname) ? $drupal_user->lastname : '',
empty($drupal_user->pre_auth_role),
(bool) $drupal_user->confirmed,
......@@ -2210,7 +2210,7 @@ function drush_drupalorg_keycloak_integrity_check($log_filename = null) {
}
// Keycloack username is case insensitive.
if (drupal_strtolower($d_username) !== drupal_strtolower($k_username)) {
fprintf($log_file, "name_mismatch: (uid = %d, uuid = %s) k_uid = %d\n", $d_uid, $d_uuid, $k_uid);
fprintf($log_file, "name_mismatch: (uid = %d, uuid = %s) d_username = %s, k_username = %s\n", $d_uid, $d_uuid, $d_username, $k_username);
$diff_counts['name_mismatch']++;
continue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment