diff --git a/themes/src/main/resources/theme/base/admin/resources/js/controllers/users.js b/themes/src/main/resources/theme/base/admin/resources/js/controllers/users.js index 31ccbbc63c..34bcb62485 100755 --- a/themes/src/main/resources/theme/base/admin/resources/js/controllers/users.js +++ b/themes/src/main/resources/theme/base/admin/resources/js/controllers/users.js @@ -1682,7 +1682,7 @@ module.controller('LDAPUserStorageCtrl', function($scope, $location, Notificatio $scope.testAuthentication = function() { console.log('LDAPCtrl: testAuthentication'); - RealmLDAPConnectionTester.save(initConnectionTest("testAuthentication", $scope.instance.config), function() { + RealmLDAPConnectionTester.save({realm: realm.realm}, initConnectionTest("testAuthentication", $scope.instance.config), function() { Notifications.success("LDAP authentication successful."); }, function() { Notifications.error("LDAP authentication failed. See server.log for details");