diff --git a/htdocs/admin/security.php b/htdocs/admin/security.php index 18c03319e80..3fe1a4d6292 100644 --- a/htdocs/admin/security.php +++ b/htdocs/admin/security.php @@ -238,15 +238,7 @@ print ''.$langs->trans("Action").''; print ''; print ""; -if($conf->global->DATABASE_PWD_ENCRYPTED == 1) -{ - print ''; -} -else -{ - print ''; -} -print $langs->trans("DoNotStoreClearPassword").''; +print ''.$langs->trans("DoNotStoreClearPassword").''; print ''; if($conf->global->DATABASE_PWD_ENCRYPTED == 1) { @@ -261,9 +253,9 @@ if ($conf->global->DATABASE_PWD_ENCRYPTED == 0) print ""; } -print ''; if($conf->global->DATABASE_PWD_ENCRYPTED == 1) { + print ''; if ($allow_disable_encryption) { //On n'autorise pas l'annulation de l'encryption car les mots de passe ne peuvent pas être décodés @@ -274,9 +266,9 @@ if($conf->global->DATABASE_PWD_ENCRYPTED == 1) { print '-'; } + print ""; } - -print ""; + print ""; print '';