Account Sharing Prevention

Discussion in 'Troubleshooting' started by simplyr, May 3, 2011.

  1. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Hey,

    For some reason the emails from 'Account Sharing Prevention' do not seem to come through any more.

    Users have logged in with 4 IPs in 7 days, the settings are set to a maximum of 3 IPs in 10 days.

    I've used the email test to see if emails are being sent out by amember and they do seem to be.
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    1) Are the users actually being blocked (ie. check users accounts and see if they are locked)

    2) Something happen to the template? Admin -> Setup / Configuration -> Advanced -> Account Sharing Prevention -> Edit Email Template. Should look something like this:

  3. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Hey,

    I've checked both, the template is fine. Accounts aren't being locked automatically.

    It's set to email me only when the criteria is met.
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    So you have your minutes set to 10,080 (see attached example) ?

    How are you confirming that they are using 4 IPs in the time frame (ie. do you have a log you can share with us)
  5. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Mine is set to hours for some reason. 240 hours. They can have a maximum of 3 IPs.

    I do have aMember remote and this user has accessed the remote site every time. Maybe that could be the issue?
  6. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Can you post a screen shot of your config page similar to mine above.
  7. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Attached the screenshot.
  8. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    What version of aMember are you running? That looks different from my site and the demo site.
  9. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Well I believe there is a problem with setting and it counts for minutes and not for hours. There was such bug in old versions.
  10. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    3.1.8, alex I'm using amember remote, could that mean it's not looking at those IPs as account sharing?
  11. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    So you have a couple of variables that could be hurting you.

    1) Sounds like there was a bug in previous versions of aMember where it would indicate HOURS, but was actually calculating at minutes (as Alexander mentioned above). You can try and adjust your values to minutes (ie. 14400) and see if that makes a difference. You could also upgrade to the latest version of aMember 3.2.3 which addresses a number of bug and security issues.

    2) Not sure how adding aMember remote into the mix would impact this.
  12. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    aMember may not count those IPs as part of it's account sharing on the remote site.

    So people who login on the remote site have their IPs recorded but not 'counted' as part of the sharing - if that makes sense?
  13. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    No. If you see their IP in access log when they login throught aMember remote, then aMember will count these IPs as well.
  14. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    @simplyr: just to follow back up from the point earlier, have you either a) updated your aMember to the latest version or b) changed the time to be reflective of minutes and not hours to avoid the bug that Alexander mentioned (ie. 240 hours would be 14400 minutes)
  15. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    I tried the minutes thing and it worked. Should have said this earlier. I did it when I last made a post. Only just got an email today about account sharing :)

Share This Page