Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
andypostmarked as duplicate #1214134: Masquerade causing edit button to appear on user/UID/edit/insertotherextrapath
Comment #2
andypostThanx, fixed