Fix typo, the issue unintentionally removes password from the session

pull/51/head
Aleksander Machniak 12 years ago
parent c7ff6ec2cb
commit f11cf3e600

@ -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']);
}
}

Loading…
Cancel
Save