diff --git a/src/docbkx/user-authentication.xml b/src/docbkx/user-authentication.xml index cddc8375..2bbf2bab 100644 --- a/src/docbkx/user-authentication.xml +++ b/src/docbkx/user-authentication.xml @@ -115,8 +115,7 @@ ctx = contextSource.getContext(userDn, credentials); // Take care here - if a base was specified on the ContextSource // that needs to be removed from the user DN for the lookup to succeed. - ctx.lookup(userDn); - + ctx.lookup(userDn); return true; } catch (Exception e) { // Context creation failed - authentication did not succeed