mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Fix regression on pass encryption in conf
This commit is contained in:
@@ -527,7 +527,7 @@ print '<br>';
|
||||
/*
|
||||
$usepassinconfencrypted = 0;
|
||||
global $dolibarr_main_db_pass, $dolibarr_main_db_encrypted_pass;
|
||||
if (preg_match('/crypted:/i', $dolibarr_main_db_pass) || !empty($dolibarr_main_db_encrypted_pass)) {
|
||||
if (preg_match('/crypted:/i', $dolibarr_main_db_pass) || preg_match('/dolcrypt:/i', $dolibarr_main_db_pass) || !empty($dolibarr_main_db_encrypted_pass)) {
|
||||
$usepassinconfencrypted = 1;
|
||||
}
|
||||
print '<strong>'.$langs->trans("MainDbPasswordFileConfEncrypted").'</strong>: ';
|
||||
|
||||
Reference in New Issue
Block a user