mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: Hide 'Logged Passwords' tab in member CMS fields (fixes #4422)
This commit is contained in:
parent
cd560eee12
commit
b7480b92a9
@ -1326,6 +1326,9 @@ class Member extends DataObject implements TemplateGlobalProvider {
|
||||
// Members are displayed within group edit form in SecurityAdmin
|
||||
$fields->removeByName('Groups');
|
||||
|
||||
// Members shouldn't be able to directly view/edit logged passwords
|
||||
$fields->removeByName('LoggedPasswords');
|
||||
|
||||
if(Permission::check('EDIT_PERMISSIONS')) {
|
||||
$groupsMap = array();
|
||||
foreach(Group::get() as $group) {
|
||||
|
Loading…
Reference in New Issue
Block a user