From b7480b92a9c734058135a3259a1c4432c6bb474d Mon Sep 17 00:00:00 2001 From: Loz Calver Date: Wed, 22 Jul 2015 14:39:56 +0100 Subject: [PATCH] FIX: Hide 'Logged Passwords' tab in member CMS fields (fixes #4422) --- security/Member.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/security/Member.php b/security/Member.php index 08b4ab75d..28a368766 100644 --- a/security/Member.php +++ b/security/Member.php @@ -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) {