Jump to content

[2.1]Non-root admin can see IP addresses


Guest Fabien

Recommended Posts

Posted

In the ACP Home, a non-root admin can see IP addresses in box "Administrators Using ACP".


Solution
In the file sources/action_admin/index.php, add code in red :

else


{


$r['_click'] = sprintf("%0d", ($r['_click'] / 60) ) . " minutes ago";


}



[color="#FF0000"] if ( $this->ipsclass->member['mgroup'] != $this->ipsclass->vars['admin_group'] )


{


$r['session_ip_address'] = "Private";


}[/color]



:)
Posted

This is most likely considered a feature suggestion because it was this way in all previous versions, however I agree regular admins shouldn't see root admin's IPs in the ACP, no matter their group.

Posted

Then have it as an admin restriction, where a root can allow (or not allow) the viewing of ROOT's IP's. :D

But still, should be a feature suggestion if it's always been this way.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...