diff options
-rw-r--r-- | plugins/password/drivers/pam.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/password/drivers/pam.php b/plugins/password/drivers/pam.php index ed60bd841..20524d9f1 100644 --- a/plugins/password/drivers/pam.php +++ b/plugins/password/drivers/pam.php @@ -13,7 +13,7 @@ class rcube_pam_password { $user = $_SESSION['username']; - if (extension_loaded('pam')) { + if (extension_loaded('pam') || extension_loaded('pam_auth')) { if (pam_auth($user, $currpass, $error, false)) { if (pam_chpass($user, $currpass, $newpass)) { return PASSWORD_SUCCESS; |