Skip to content
Snippets Groups Projects
Commit 4df9341c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

make sure that new status of the ldap connection is propagated on click

parent 21f8df2f
No related branches found
No related tags found
2 merge requests!541version 12.1.3 into master,!523Resolve "LDAP connector problem with case insensitive logins"
......@@ -167,7 +167,7 @@ UsersAdminPanel.prototype._createUsersTableRow = function () {
var isConnected = user.isConnectedToLdap();
if (isConnected !== newIsConnected) {
user.setConnectedToLdap(newIsConnected);
return self.getServerConnector().updateUser(user);
return Promise.all([user.callListeners("onreload"), self.getServerConnector().updateUser(user)]);
}
}).catch(function (error) {
GuiConnector.alert(error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment