From: Tomas K. <to...@us...> - 2006-08-05 09:54:32
|
Update of /cvsroot/squirrelmail/squirrelmail/config In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv18364 Modified Files: conf.pl Log Message: simple "equal to 'none'" test instead of testing all other authentication options Index: conf.pl =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/config/conf.pl,v retrieving revision 1.252 retrieving revision 1.253 diff -u -w -r1.252 -r1.253 --- conf.pl 5 Aug 2006 07:38:01 -0000 1.252 +++ conf.pl 5 Aug 2006 09:54:27 -0000 1.253 @@ -1447,10 +1447,7 @@ my $auth_mech = shift(@_); my $default, $tmp; $auth_mech = lc(trim($auth_mech)); - if ($auth_mech ne 'cram-md5' && - $auth_mech ne 'digest-md5' && - $auth_mech ne 'login' && - $auth_mech ne 'plain') { + if ($auth_mech eq 'none') { return; } print "SMTP authentication uses IMAP username and password by default.\n"; |