mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-02 17:29:25 +02:00
refactoring
This commit is contained in:
parent
22e0f49efb
commit
5caf46f680
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue