Fix regression on pass encryption in conf

This commit is contained in:
Laurent Destailleur
2025-07-29 01:14:42 +02:00
parent 0165045524
commit 23d0879dde
6 changed files with 12 additions and 7 deletions

View File

@@ -178,7 +178,7 @@ function dolEncrypt($chain, $key = '', $ciphering = '', $forceseed = '')
* Note: If a backup is restored onto another instance with a different $conf->file->instance_unique_id, then decoded value will differ.
*
* @param string $chain string to decode
* @param string $key If '', we use $conf->file->instance_unique_id
* @param string $key If '', we use $conf->file->dolcrypt_key else $conf->file->instance_unique_id
* @return string encoded string
* @since v17
* @see dolEncrypt(), dol_hash()