PR #10373 changed the name of the remember me cookie so it can be detected by reverse caching proxies. This is fine but means that all existing remember me cookies don't work anymore and all users will have to login fresh after the update.
While this isn't that big of a deal, we can still do better ????
Summary of Changes
This PR adds a fallback mechanism to the cookie plugins. If there is no cookie with the new name (prefixed with joomla_remember_me_), it will look for the old name and proceed with that one if found.
After a successfull login, the old cookie will be destroyed and a new one created with the prefixed name.
Testing Instructions
Ideally:
take a 3.5.1 installation
log in with remember me option activated
update to latest staging and apply this PR
close all browser windows to be sure all sessions are terminated
open the site again. You should still be logged in. Without this PR you would be logged out.
Merged on review as we need this for the beta.