Skip to content

Commit

Permalink
Update MemberProfilePageController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz-sauer-13 authored Dec 20, 2023
1 parent fc9234b commit cbeeec2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Pages/MemberProfilePageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit cbeeec2

Please sign in to comment.