From 54b27c0656e383f240d704ac9e684c3687b51d66 Mon Sep 17 00:00:00 2001 From: tokul Date: Sat, 5 Aug 2006 09:54:27 +0000 Subject: [PATCH] simple "equal to 'none'" test instead of testing all other authentication options git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11471 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/conf.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/conf.pl b/config/conf.pl index 0d116118..eedd211a 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -1447,10 +1447,7 @@ sub command_smtp_sitewide_userpass($) { 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"; -- 2.25.1