mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-587: Fix flipped logic within bindAuthenticationProvider().
This commit is contained in:
@@ -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