mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 02:15:24 +00:00
Clear password when editing
This commit is contained in:
parent
c56f1041c3
commit
2611eb4cc2
@ -193,6 +193,9 @@ app.controller('settingsController', function ($scope, $rootScope, $http, $route
|
||||
}
|
||||
|
||||
$scope.toggleEditor = entry => {
|
||||
if($scope.formUpdate && $scope.formUpdate.password) {
|
||||
$scope.formUpdate.password = '';
|
||||
}
|
||||
for(const key in $scope.showEditForm) {
|
||||
if(entry && entry._id === key) continue;
|
||||
$scope.showEditForm[key] = false;
|
||||
|
Loading…
Reference in New Issue
Block a user