summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_imap_generic.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-19 12:34:01 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-19 12:34:01 +0000
commite4c7779ac5b37e21043135b894eaf5edf9676139 (patch)
tree63fe64944825028a2ad696646e3d983de93fe21c /roundcubemail/program/include/rcube_imap_generic.php
parent77df8bf5d7cd60abee4e6360e75326adf035f57c (diff)
- Allow setting connection options in imap_connect hook
git-svn-id: https://svn.roundcube.net/trunk@5240 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_imap_generic.php')
-rw-r--r--roundcubemail/program/include/rcube_imap_generic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_imap_generic.php b/roundcubemail/program/include/rcube_imap_generic.php
index 55eb8fa42..8b99da486 100644
--- a/roundcubemail/program/include/rcube_imap_generic.php
+++ b/roundcubemail/program/include/rcube_imap_generic.php
@@ -672,8 +672,8 @@ class rcube_imap_generic
$this->prefs = $options;
}
// set auth method
- if (!empty($this->prefs['auth_method'])) {
- $auth_method = strtoupper($this->prefs['auth_method']);
+ if (!empty($this->prefs['auth_type'])) {
+ $auth_method = strtoupper($this->prefs['auth_type']);
} else {
$auth_method = 'CHECK';
}