From cbeeec2c40b93616171b16c7573755e330d65223 Mon Sep 17 00:00:00 2001 From: Moritz Sauer <43135946+moritz-sauer-13@users.noreply.github.com> Date: Wed, 20 Dec 2023 14:08:55 +0100 Subject: [PATCH] Update MemberProfilePageController.php --- src/Pages/MemberProfilePageController.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Pages/MemberProfilePageController.php b/src/Pages/MemberProfilePageController.php index 15e272b..e8158f3 100644 --- a/src/Pages/MemberProfilePageController.php +++ b/src/Pages/MemberProfilePageController.php @@ -713,11 +713,6 @@ protected function getProfileFields($context) $field = $field->performReadonlyTransformation(); } - if ($name === 'Password') { - Requirements::javascript("silverstripe/admin: thirdparty/jquery/jquery.js"); - Requirements::javascript("moritz-sauer-13/silverstripe-memberprofiles: client/javascript/ConfirmedPasswordField.js"); - } - // The follow two if-conditions were added since the SS4 migration because a Password label disappeared $fieldTitle = $profileField->getTitle(); if ($fieldTitle) {