might fix tests

This commit is contained in:
David Goodwin committed 2021-05-11 22:05:36 +01:00
1 parent 179dd4c6e2
commit 1a63ee6c5d
1 file changed
+2 -2
+2 -2
View File
@@ -150,11 +150,11 @@ class PFACrypt
}
if (preg_match("/^dovecot:/", $algorithm)) {
if (preg_match("/^DOVECOT:/", $algorithm)) {
return _pacrypt_dovecot($pw, $pw_db);
}
if (substr($algorithm, 0, 9) === 'php_crypt') {
if (substr($algorithm, 0, 9) === 'PHP_CRYPT') {
return _pacrypt_php_crypt($pw, $pw_db);
}