Cookie Expiry
-
Hi Ben,
very useful plugin, many thanks ..
I have one question regarding the cookies.
When I log into the blog using the plugin, the browser keeps a cookie, so when I visit the blog in the same browser again, it doesn’t require password anymore.
I’d like to change this behaviour so the blog requires a password every single time i wnat to login.
In one of your previous posts you mention this :
” The cookie lasts for 48 hours by default. This can be adjusted using the ‘password_protected_auth_cookie_expiration’ filter which should return the number of seconds the cookie should last for. “
I think this is exactly what I am looking for correct ? To change the cookie time expiry for let’s say 5 minutes ??
But I’m not a coder, would you be able to point me exactly to the piece of code that I should be changing ??
I really appreciate your help, J
- The topic ‘Cookie Expiry’ is closed to new replies.