Unverified Commit 33d18367 authored by daryl herzmann's avatar daryl herzmann Committed by GitHub

correct check for AuthFactory#supportsScram (#949)

fixes commit c44f29 from PR #931
parent 5937429b
......@@ -554,7 +554,7 @@ public class SASLAuthentication {
break;
case "SCRAM-SHA-1":
if ( AuthFactory.supportsScram() )
if ( !AuthFactory.supportsScram() )
{
Log.trace( "Cannot support '{}' as the AuthFactory that's in use does not support SCRAM.", mechanism );
it.remove();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment