Commit 61f920fd authored by Sascha Pfeiffer's avatar Sascha Pfeiffer

added compliancy feature to disable delete accounts

Signed-off-by: 's avatarSascha Pfeiffer <sascha.pfeiffer@psono.com>
parent fb6b5bb2
......@@ -223,7 +223,10 @@
}
// load delete account last
_tabs.push({ key: 'delete-account', title: 'DELETE_ACCOUNT', description: 'DELETE_ACCOUNT_DESCRIPTION' });
if (!server_info.value.hasOwnProperty('compliance_disable_delete_account') || server_info.value['compliance_disable_delete_account'] === false) {
_tabs.push({ key: 'delete-account', title: 'DELETE_ACCOUNT', description: 'DELETE_ACCOUNT_DESCRIPTION' });
}
_tabs_already_loaded = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment