| | |
| | | * |
| | | * See logout.html (in this directory) for an example how HTTP auth can be cleared. |
| | | * |
| | | * For other configuration options, see config.inc.php.dist! |
| | | * |
| | | * @version @package_version@ |
| | | * @license GNU GPLv3+ |
| | | * @author Thomas Bruederli |
| | |
| | | |
| | | function authenticate($args) |
| | | { |
| | | // Load plugin's config file |
| | | $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)); |
| | | |
| | | // Allow entering other user data in login form, |
| | | // e.g. after log out (#1487953) |
| | | if (!empty($args['user'])) { |