summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-12-26 18:49:06 +0100
committerThomas Bruederli <thomas@roundcube.net>2012-12-26 18:49:06 +0100
commitc942e4a2e9a97743850b4178ea66b3b33956e7f7 (patch)
tree8fda2746e6cd6e69fc74427c297f3113665fce00 /plugins
parentaabeab1e4e08ffba5d709aa71de1182dfeb698d1 (diff)
parent23b30e0afca5f9c31e05204c3a6ff3332791d3a1 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
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;