Increase expire time on Change Password link

Discussion in 'Troubleshooting' started by jennifer_davis, Feb 9, 2013.

  1. jennifer_davis

    jennifer_davis New Member

    Joined:
    Jun 23, 2012
    Messages:
    17
    How can we increase the number of hours the Change Password link is valid? The default is 8 hours and we had a member complain that they didn't receive the email until AFTER that 8 hours was up, and naturally, the link had expired.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Edit /amember/application/default/controllers/SendpassController.php and change this line:
    PHP:
        const EXPIRATION_PERIOD 8//hrs

  3. jennifer_davis

    jennifer_davis New Member

    Joined:
    Jun 23, 2012
    Messages:
    17

Share This Page