diff options
author | Thomas B. <thomas@roundcube.net> | 2013-06-12 00:08:16 -0700 |
---|---|---|
committer | Thomas B. <thomas@roundcube.net> | 2013-06-12 00:08:16 -0700 |
commit | c6a173f7f798163c17ab028dc81b2ad7d7f456d1 (patch) | |
tree | 4fd6b69d640bd4bca3713622f986b7f38df65c03 /plugins/http_authentication/http_authentication.php | |
parent | ec532341ce644691e4798da4711f344717d42b66 (diff) | |
parent | d9a8d210f56859d583f3cc2674771e483edc785e (diff) |
Merge pull request #80 from weisslj/fix-http-authentication-plugin
Fix http_authentication_host usage after logout
Diffstat (limited to 'plugins/http_authentication/http_authentication.php')
-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, |