currently it’s hard-coded at one hour. However, I need to rewrite the cookie piece as the pluggable functions are being deprecated in favor of filters. At that point, I’ll either make it an option you can set in the settings panel, or I’ll have the function apply the auth_cookie_expiration filter.
Thanks, can you please name the line and path, where you´ve hard coded the value?
line 1415
$duration = ($loginUserIsDirUser) ? strtotime('1 hour') : strtotime('6 months');
I thought it would be $intExpireTime = 60* at line 2125?
wait, you’re right. it’s too early and i havent had enough coffee yet.
yes, i switched to those filters awhile back. so then you could actually hook the auth_cookie_expiration
filter with a later execution (wpDirAuth uses the default of 10) and set the timeout to whatever you want.
Hi,
any news to this feature?
Regards,