Changing the Password Reminder Expiration

Problem

You don't like the default password expiration of one hour.

Solution

Edit your app/config/auth.php file.

    'reminder' => array(
        'expire' => 60,
    ),

Change the value of 60 to your desired expiration.

Discussion

The expiration time is a security feature.

This keeps tokens sent your users short-lived so there's less time for hackers to guess.

comments powered by Disqus