When WordPress cookie expires, can no longer log in
-
I’ve recently started helping out on a site that uses this plugin, and they have an issue where if your wordpress_logged_in_[hash] and wordpress_sec_[hash] cookies expire (which happens after two weeks), logging in with [mw… doesn’t create those cookies. If I delete the SFSF cookie (which expires 3 months in the future), then you can log in fine.
Process to duplicate:
1) Delete cookies wordpress_logged_in_[hash] and wordpress_sec_[hash]
2) Log in – at this point the login dialogue disappears, but the cookies from step one are not created
3) Delete SFSF cookie
4) Log in – Note that this time the SFSF cookie and the cookies from step 1 are created correctlyFor the time being, I’m setting the SFSF cookie to empty in functions.php if a user is logged out, but would prefer plugin fix, assuming this isn’t an issue with my setup.
- The topic ‘When WordPress cookie expires, can no longer log in’ is closed to new replies.