summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorThomas B. <thomas@roundcube.net>2013-06-12 00:08:16 -0700
committerThomas B. <thomas@roundcube.net>2013-06-12 00:08:16 -0700
commitc6a173f7f798163c17ab028dc81b2ad7d7f456d1 (patch)
tree4fd6b69d640bd4bca3713622f986b7f38df65c03 /plugins
parentec532341ce644691e4798da4711f344717d42b66 (diff)
parentd9a8d210f56859d583f3cc2674771e483edc785e (diff)
Merge pull request #80 from weisslj/fix-http-authentication-plugin
Fix http_authentication_host usage after logout
Diffstat (limited to 'plugins')
-rw-r--r--plugins/http_authentication/http_authentication.php2
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,