diff --git a/htdocs/user/card.php b/htdocs/user/card.php
index cf30cc2bb99..9ba58cd069b 100644
--- a/htdocs/user/card.php
+++ b/htdocs/user/card.php
@@ -1000,18 +1000,18 @@ if ($action == 'create' || $action == 'adduserldap') {
print '
';
$valuetoshow = '';
if (preg_match('/ldap/', $dolibarr_main_authentication)) {
- $valuetoshow .= ($valuetoshow ? ', ' : '').$langs->trans("PasswordOfUserInLDAP");
+ $valuetoshow .= ($valuetoshow ? ' + ' : '').$langs->trans("PasswordOfUserInLDAP").' (hidden)';
}
if (preg_match('/http/', $dolibarr_main_authentication)) {
- $valuetoshow .= ($valuetoshow ? ', ' : '').$langs->trans("HTTPBasicPassword");
+ $valuetoshow .= ($valuetoshow ? ' + ' : '').$langs->trans("HTTPBasicPassword");
}
if (preg_match('/dolibarr/', $dolibarr_main_authentication)) {
if (!empty($ldap_pass)) { // For very old system comaptibilty. Now clear password can't be viewed from LDAP read
- $valuetoshow .= ($valuetoshow ? ', ' : '').''; // Dolibarr password is preffiled with LDAP known password
+ $valuetoshow .= ($valuetoshow ? ' + ' : '').''; // Dolibarr password is preffiled with LDAP known password
$valuetoshow .= preg_replace('/./i', '*', $ldap_pass);
} else {
// We do not use a field password but a field text to show new password to use.
- $valuetoshow .= ($valuetoshow ? ', ' : '').'';
+ $valuetoshow .= ($valuetoshow ? ' + '.$langs->trans("DolibarrPassword") : '').'';
}
}
|