1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-31 10:04:20 +03:00

change default salt method with php_crypt

This commit is contained in:
David Goodwin
2018-05-02 12:49:47 +01:00
parent f7ba904800
commit e7f9d536d9

View File

@ -1062,7 +1062,7 @@ function _pacrypt_php_crypt($pw, $pw_db) {
// existing pw provided. send entire password hash as salt for crypt() to figure out
$salt = $pw_db;
} else {
$salt_method = 'missing-from-config';
$salt_method = 'MD5'; // default.
// no pw provided. create new password hash
if(strpos($CONF['encrypt'], ':') !== false) {
// use specified hash method