From 4f435ee019af23998093732253b994ac9611778b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar?= Date: Fri, 27 May 2022 12:49:25 +0200 Subject: [PATCH] Skip requirement for password when changing the current user fields --- CRM/Utils/System/Drupal8.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/System/Drupal8.php b/CRM/Utils/System/Drupal8.php index 8008ffaf3a30..df27c0d9e44a 100644 --- a/CRM/Utils/System/Drupal8.php +++ b/CRM/Utils/System/Drupal8.php @@ -114,7 +114,7 @@ public function updateCMSName($ufID, $email) { if ($user && $user->getEmail() != $email) { $user->setEmail($email); - // Enforce supplying a password when changing the current user fields + // Skip requirement for password when changing the current user fields $user->_skipProtectedUserFieldConstraint = TRUE; if (!count($user->validate())) {