Aleksander Machniak
2012-12-05 f11cf3e60087a2432f3de8077445c4984b062111
Fix typo, the issue unintentionally removes password from the session
1 files modified
2 ■■■ changed files
plugins/http_authentication/http_authentication.php 2 ●●● patch | view | raw | blame | history
plugins/http_authentication/http_authentication.php
@@ -36,7 +36,7 @@
                $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']);
            }
        }