| | |
| | | $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']); |
| | | } |
| | | } |
| | |
| | | $this->load_config(); |
| | | |
| | | $host = rcmail::get_instance()->config->get('http_authentication_host'); |
| | | if (is_string($host) && trim($host) !== '') |
| | | $args['host'] = rcube_idn_to_ascii(rcube_parse_host($host)); |
| | | if (is_string($host) && trim($host) !== '' && empty($args['host'])) |
| | | $args['host'] = rcube_utils::idn_to_ascii(rcube_utils::parse_host($host)); |
| | | |
| | | // Allow entering other user data in login form, |
| | | // e.g. after log out (#1487953) |