Fix for POP3 by disabling TLS explicitly.

based on this: http://moodle.org/mod/forum/discuss.php?d=1884
This commit is contained in:
moodler 2003-07-29 07:12:31 +00:00
parent 48705c8d40
commit 17b88d1910

View File

@ -9,7 +9,7 @@ function auth_user_login ($username, $password) {
switch ($CFG->auth_pop3type) {
case "pop3":
$host = "{".$CFG->auth_pop3host.":$CFG->auth_pop3port/pop3}INBOX";
$host = "{".$CFG->auth_pop3host.":$CFG->auth_pop3port/pop3/notls}INBOX";
break;
case "pop3cert":
$host = "{".$CFG->auth_pop3host.":$CFG->auth_pop3port/pop3/ssl/novalidate-cert}INBOX";