Any chance that we can put a check into the module so that when the function masquerade_form_user_profile_form_alter is called that it does a check to verify that we are on the account category such as:

if($form['#user_category'] != 'account') {return;}

This would allow the Masquerade module to not show up on modules that have their settings in a different user_category such as simplenews etc.

Thanks in advance.

Comments

andypost’s picture

andypost’s picture

Status: Active » Fixed

Thanx, fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 3416339 on 7.x-1.x, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 by andypost:
    Issue #1170078 by andypost, cmriley: Masquerade does not check category...

  • Commit 3416339 on 7.x-1.x, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 by andypost:
    Issue #1170078 by andypost, cmriley: Masquerade does not check category...