Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberroland committed Jun 11, 2024
1 parent 22e0f49 commit 5caf46f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lam/lib/selfService.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1087,8 +1087,8 @@ class SelfServiceUserPasswordLoginHandler implements SelfServiceLoginHandler {
$content->add($userField);
// password field
$passwordText = _("Password");
if (!empty($profile->passwordLabel)) {
$passwordText = $profile->passwordLabel;
if (!empty($this->profile->passwordLabel)) {
$passwordText = $this->profile->passwordLabel;
}
$passwordVal = !empty($_POST['password']) ? $_POST['password'] : '';
$passwordField = new htmlResponsiveInputField($passwordText, 'password', $passwordVal);
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ sonar.tests=lam/tests
sonar.php.tests.reportPath=code-coverage/junit.xml
sonar.php.coverage.reportPaths=code-coverage/clover.xml

sonar.exclusions=**/3rdParty/**,**/lib/extra/**,**/lib/*jquery*.js,**/lib/*Sortable*.js,**/lib/*flatpickr*.js,**/lib/*sweetalert*.js,**/tests/**,**/style/*jquery*.css,**/style/*cropper*.css,**/style/*magnific*.css,**/style/responsive/*normalize*.css,**/style/*flatpickr*.css,**/style/*sweetalert*.css,**/schema.inc
sonar.exclusions=**/3rdParty/**,**/lib/extra/**,**/lib/*jquery*.js,**/lib/*Sortable*.js,**/lib/*flatpickr*.js,**/lib/*sweetalert*.js,**/tests/**,**/style/*jquery*.css,**/style/*cropper*.css,**/style/*magnific*.css,**/style/responsive/*normalize*.css,**/style/*flatpickr*.css,**/style/*sweetalert*.css,**/style/tabulator/tabulator.css,**/schema.inc

0 comments on commit 5caf46f

Please sign in to comment.