CodeIgniter Forums
Forgot Password - Expiration link after click or 24h - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Forgot Password - Expiration link after click or 24h (/thread-70214.html)



Forgot Password - Expiration link after click or 24h - Grifasi - 03-09-2018

Hi, I would like when the password recovery is given the link that sends it by CodeIgniter expires after it is accessed or after 24h if it is not accessed.

Does anyone know how I could do that?


RE: Forgot Password - Expiration link after click or 24h - jreklund - 03-09-2018

Paragon Initiative have a good resource regarding the matter: Untangling the Forget-Me Knot: Secure Account Recovery Made Simple


RE: Forgot Password - Expiration link after click or 24h - enelson - 03-09-2018

(03-09-2018, 03:04 AM)Grifasi Wrote: Hi, I would like when the password recovery is given the link that sends it by CodeIgniter expires after it is accessed or after 24h if it is not accessed.

Does anyone know how I could do that?

Ion Auth and other auth libraries has a provision for this.