GUAC-587: Fix flipped logic within bindAuthenticationProvider().
This commit is contained in:
1 parent
ab5fa56577
commit
d0d492faec
1 file changed
+1
-1
+1
-1
@@ -168,7 +168,7 @@ public class ExtensionModule extends ServletModule {
|
||||
private void bindAuthenticationProvider(Class<? extends AuthenticationProvider> authenticationProvider) {
|
||||
|
||||
// Choose auth provider for binding if not already chosen
|
||||
if (boundAuthenticationProvider != null)
|
||||
if (boundAuthenticationProvider == null)
|
||||
boundAuthenticationProvider = authenticationProvider;
|
||||
|
||||
// If an auth provider is already chosen, skip and warn
|
||||
|
||||
Reference in new issue
Block a user