* Admin: Context menu action to clear user credentials

This commit is contained in:
nathangray
2020-12-17 13:12:21 -07:00
parent 93b64235a2
commit 52eb33b96f
4 changed files with 80 additions and 0 deletions

View File

@ -1382,6 +1382,23 @@ class AdminApp extends EgwApp
}, this));
}
/**
* Action handler for clear credentials action
*
* @param action
* @param selected
*/
clear_credentials_handler(action : egwAction, selected: egwActionObject[])
{
let ids = [];
debugger;
for(let row of selected)
{
ids.push(row.id.split("::").pop());
}
this.egw.request("admin.admin_passwordreset.ajax_clear_credentials", [ids]);
}
/**
* Export content of given field into relevant file
*/