Skip to content

Commit

Permalink
might fix: #378
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGoodwin committed Aug 13, 2020
1 parent 12f68a6 commit 4d8b455
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions functions.inc.php
Expand Up @@ -1017,6 +1017,9 @@ function _pacrypt_dovecot($pw, $pw_db = '') {
# only use -t for salted passwords to be backward compatible with dovecot < 2.1
$dovepasstest = " -t " . escapeshellarg($pw_db);
}

$pipes = [];

$pipe = proc_open("$dovecotpw '-s' $method$dovepasstest", $spec, $pipes);

if (!$pipe) {
Expand Down

0 comments on commit 4d8b455

Please sign in to comment.