Modification de la gestion des mots de passe crypté pour faciliter les evolutions et interactions avec plugins.
This commit is contained in:
parent
6e7382528b
commit
9a044d1665
@ -185,16 +185,11 @@ print '</form>';
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* \TODO
|
* \TODO
|
||||||
* Fonctionnalité désactivée car à revoir différemment sous peine
|
|
||||||
* de ne pouvoir gérer son propre module de cryptage ni aucune interface
|
|
||||||
* avec une base extérieure. Les modifs à faire sont :
|
|
||||||
*
|
*
|
||||||
* Ajouter options:
|
* Ajouter options qui désactive le stockage du champ pass (seul le champ pass_crypted est alors stocké)
|
||||||
* - "Ne pas conserver mot de passe en clair en base"
|
|
||||||
* qui désactive le stockage du champ pass (seul le champ pass_crypted est alors stocké)
|
|
||||||
* - "Algorithme de cryptage = MD5,..."
|
* - "Algorithme de cryptage = MD5,..."
|
||||||
*
|
*
|
||||||
|
*/
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
$var=false;
|
$var=false;
|
||||||
@ -212,7 +207,7 @@ if ($conf->global->DATABASE_PWD_ENCRYPTED == 0 || $allow_disable_encryption)
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
print "<tr ".$bc[$var].">";
|
print "<tr ".$bc[$var].">";
|
||||||
print '<td>'.$langs->trans("EncryptedPasswordInDatabase").'</td>';
|
print '<td>'.$langs->trans("DoNotStoreClearPassword").'</td>';
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
print '<td align="center" width="20">';
|
print '<td align="center" width="20">';
|
||||||
if($conf->global->DATABASE_PWD_ENCRYPTED == 1)
|
if($conf->global->DATABASE_PWD_ENCRYPTED == 1)
|
||||||
@ -238,7 +233,6 @@ if($conf->global->DATABASE_PWD_ENCRYPTED == 1 && $allow_disable_encryption)
|
|||||||
|
|
||||||
print "</td>";
|
print "</td>";
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
*/
|
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user