class
ActionDispatch::Cookies::UpgradeLegacySignedCookieJar
v4.2.7 -
Show latest stable
- Superclass: ActionDispatch::Cookies::SignedCookieJar
UpgradeLegacySignedCookieJar is used instead of SignedCookieJar if secrets.secret_token and secrets.secret_key_base are both set. It reads legacy cookies signed with the old dummy key generator and re-saves them using the new key generator to provide a smooth upgrade path.
Included modules
- ActionDispatch::Cookies::VerifyAndUpgradeLegacySignedMessage
Files
- actionpack/lib/action_dispatch/middleware/cookies.rb