summaryrefslogtreecommitdiff
path: root/program/include/rcmail.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-19 12:34:01 +0000
committeralecpl <alec@alec.pl>2011-09-19 12:34:01 +0000
commite7e79470e425c75495a846435b43350f0b793bb7 (patch)
treeeef7f69d0314c6a3cb9e94cc5f98961398a852b2 /program/include/rcmail.php
parent5d62d9af93eeac1088ccff505f04f80d3a57b36d (diff)
- Allow setting connection options in imap_connect hook
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 3cc277450..ca62fa2bb 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -615,7 +615,7 @@ class rcmail
// Setting root and delimiter before establishing the connection
// can save time detecting them using NAMESPACE and LIST
$options = array(
- 'auth_method' => $this->config->get('imap_auth_type', 'check'),
+ 'auth_type' => $this->config->get('imap_auth_type', 'check'),
'auth_cid' => $this->config->get('imap_auth_cid'),
'auth_pw' => $this->config->get('imap_auth_pw'),
'debug' => (bool) $this->config->get('imap_debug', 0),