Problem/Motivation

When using the masquerade module and masquerading as another user, the IPtracker is triggered and my IP address is saved with the masqueraded member.

There should be an option to skip/ignore saving IP when masquerading.

Steps to reproduce

  • Install this module
  • Install the masquerade module
  • Masquerade as another user
  • View IP Tracker table at /admin/people/ip and notice the masqueraded member is added.

Proposed resolution

Add option to skip saving if masquerade module is installed.

Remaining tasks

  • Create settings config form for IP with Masquerade option
  • Update ip_user_login function

User interface changes

TBD

API changes

TBD

Data model changes

New config variable added for masquerade functionality.

Issue fork ip-3481806

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sagesolutions created an issue. See original summary.

sagesolutions’s picture

Status: Active » Needs review

Created a settings form and updated the hook_user_login. Please review!

sagesolutions’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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