summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-12-26 09:07:17 -0800
committerAleksander Machniak <alec@alec.pl>2012-12-26 09:07:17 -0800
commit23b30e0afca5f9c31e05204c3a6ff3332791d3a1 (patch)
tree63898a8d1b213447f92a7c09d1895a14c349bf29 /plugins
parent66afd70b756a0637da3537e96f6bf6ce0a2c46e9 (diff)
parenta622b7d580c4642422982f95145a1323abfbed3e (diff)
Merge pull request #53 from henworth/patch-1
Update plugins/password/drivers/pam.php
Diffstat (limited to 'plugins')
-rw-r--r--plugins/password/drivers/pam.php2
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;