diff options
author | Johannes Weißl <jargon@molb.org> | 2013-06-09 14:08:22 +0200 |
---|---|---|
committer | Johannes Weißl <jargon@molb.org> | 2013-06-09 14:08:22 +0200 |
commit | d9a8d210f56859d583f3cc2674771e483edc785e (patch) | |
tree | 7e90ba1c3b5f6eaceb9905b6e43374d03d356783 | |
parent | 60b6d7c3894f61eb9c8bc40efe5528e91386bf94 (diff) |
Fix http_authentication_host usage
Without this fix it is impossible to use a host different from config
option "http_authentication_host" after logout (fixup aec2869).
-rw-r--r-- | plugins/http_authentication/http_authentication.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http_authentication/http_authentication.php b/plugins/http_authentication/http_authentication.php index 57227cb03..2631537a0 100644 --- a/plugins/http_authentication/http_authentication.php +++ b/plugins/http_authentication/http_authentication.php @@ -52,7 +52,7 @@ class http_authentication extends rcube_plugin $this->load_config(); $host = rcmail::get_instance()->config->get('http_authentication_host'); - if (is_string($host) && trim($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, |