1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-08-09 05:02:44 +03:00
David Goodwin
2020-08-13 16:59:40 +01:00
parent 12f68a6e3a
commit 4d8b4558d7

View File

@@ -1017,6 +1017,9 @@ function _pacrypt_dovecot($pw, $pw_db = '') {
# only use -t for salted passwords to be backward compatible with dovecot < 2.1 # only use -t for salted passwords to be backward compatible with dovecot < 2.1
$dovepasstest = " -t " . escapeshellarg($pw_db); $dovepasstest = " -t " . escapeshellarg($pw_db);
} }
$pipes = [];
$pipe = proc_open("$dovecotpw '-s' $method$dovepasstest", $spec, $pipes); $pipe = proc_open("$dovecotpw '-s' $method$dovepasstest", $spec, $pipes);
if (!$pipe) { if (!$pipe) {