summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-01-07 18:29:48 +0000
committeralecpl <alec@alec.pl>2009-01-07 18:29:48 +0000
commit46b48e6d349d48e6e211858a82589223b1364518 (patch)
treea775107ab49abdbc691494db5c708980d2ccaf6d
parent1af6fe235dfab37a93bb9f0d581a4fefa0157a9c (diff)
- fix: set default auth method to 'check' not 'plain'
-rw-r--r--program/lib/imap.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index 65bb54ce2..047afdd00 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -543,7 +543,7 @@ function iil_Connect($host, $user, $password, $options=null) {
}
if (empty($auth_method))
- $auth_method = 'plain';
+ $auth_method = 'check';
$message = "INITIAL: $auth_method\n";