summaryrefslogtreecommitdiff
path: root/plugins/http_authentication
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-12-05 18:33:16 +0100
committerAleksander Machniak <alec@alec.pl>2012-12-05 18:33:16 +0100
commitf11cf3e60087a2432f3de8077445c4984b062111 (patch)
tree3817c5093d9baf6859437c67ac03cf3832db8b11 /plugins/http_authentication
parentc7ff6ec2cb985061438e5b68cfc5691b5a86422c (diff)
Fix typo, the issue unintentionally removes password from the session
Diffstat (limited to 'plugins/http_authentication')
-rw-r--r--plugins/http_authentication/http_authentication.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http_authentication/http_authentication.php b/plugins/http_authentication/http_authentication.php
index a14b5cbcc..c278b3cfc 100644
--- a/plugins/http_authentication/http_authentication.php
+++ b/plugins/http_authentication/http_authentication.php
@@ -36,7 +36,7 @@ class http_authentication extends rcube_plugin
$args['action'] = 'login';
}
// Set user password in session (see shutdown() method for more info)
- else if (!empty($_SESSION['user_id']) && empty($_SESION['password'])) {
+ else if (!empty($_SESSION['user_id']) && empty($_SESSION['password'])) {
$_SESSION['password'] = $rcmail->encrypt($_SERVER['PHP_AUTH_PW']);
}
}