fix(web): restore support of ppolicy OpenLDAP overlay

This commit is contained in:
Francis Lachapelle
2021-05-05 12:41:08 -04:00
parent da366083e9
commit 0c1f9fdb02
5 changed files with 269 additions and 70 deletions
@@ -484,7 +484,7 @@
};
this.changePassword = function() {
Authentication.changePassword(this.passwords.newPassword, this.passwords.oldPassword).then(function() {
Authentication.changePassword(null, null, this.passwords.newPassword, this.passwords.oldPassword).then(function() {
var alert = $mdDialog.alert({
title: l('Password'),
textContent: l('The password was changed successfully.'),
@@ -497,7 +497,7 @@
}, function(msg) {
var alert = $mdDialog.alert({
title: l('Password'),
content: msg,
textContent: msg,
ok: l('OK')
});
$mdDialog.show( alert )