You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2021/05/11 04:38:11 UTC

[james-project] 01/02: JAMES-3579 No need to assign authRequired twice

This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch smtp-conf-fix
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit b52c53a14ad67000fa3dc61342d75bd38a686a9c
Author: Rene Cordier <rc...@linagora.com>
AuthorDate: Tue May 11 11:07:35 2021 +0700

    JAMES-3579 No need to assign authRequired twice
    
    This is done above already.
---
 .../src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java   | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java
index cc5379a..e01b0a0 100644
--- a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java
+++ b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java
@@ -178,10 +178,6 @@ public class SMTPServer extends AbstractProtocolAsyncServer implements SMTPServe
 
             heloEhloEnforcement = configuration.getBoolean("heloEhloEnforcement", true);
 
-            if (authRequiredString.equals("true")) {
-                authRequired = AUTH_REQUIRED;
-            }
-
             // get the smtpGreeting
             smtpGreeting = configuration.getString("smtpGreeting", null);
 

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org