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

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit df8fb17d9fa37116d717cfeac3d15c9e12b43a54
Author: Rene Cordier <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to