We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Change daily limit for password reset mail | Forum

Aswin G K
Aswin G K Nov 3 '11
How to change limit for password reset mail ?

Max
Max Nov 3 '11
Hi
Edit : ow_system_plugins\base\bol\user_service.php

Line 1006 : 
        $resetPassword->setExpirationTimeStamp(( time() + 3600 * 24));
Aswin G K
Aswin G K Nov 3 '11
which value ?
Aswin G K
Aswin G K Nov 3 '11
which value  has to be changed?
Max
Max Nov 3 '11
3600 mean 1 hour. 24 mean 1 day
Exemple, if you want 3 days, put 3*24 = 72 :
$resetPassword->setExpirationTimeStamp(( time() + 3600 * 72));
Aswin G K
Aswin G K Nov 3 '11
i want to remove the limit

Max
Max Nov 3 '11
Put 999999999999999999999999999999999 :)
Aswin G K
Aswin G K Nov 3 '11
!!!!!

Max
Max Nov 3 '11
???