diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2013-02-19 10:35:03 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2013-02-19 10:35:06 -0200 |
commit | 00147c8762124795ab69ccb56473b449f9e3362e (patch) | |
tree | f770b1d5d718002ea27ee594d4670d517cd543c7 /actionpack/lib | |
parent | a7009172728fbc107cdae1e107003601dcb8fa76 (diff) | |
download | rails-00147c8762124795ab69ccb56473b449f9e3362e.tar.gz rails-00147c8762124795ab69ccb56473b449f9e3362e.tar.bz2 rails-00147c8762124795ab69ccb56473b449f9e3362e.zip |
InvalidMessage is in ActiveSupport::MessageEncryptor namespace
Closes #9302
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/cookies.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/cookies.rb b/actionpack/lib/action_dispatch/middleware/cookies.rb index fff26bd1b2..ee29e5c59c 100644 --- a/actionpack/lib/action_dispatch/middleware/cookies.rb +++ b/actionpack/lib/action_dispatch/middleware/cookies.rb @@ -410,7 +410,7 @@ module ActionDispatch @encryptor.decrypt_and_verify(encrypted_message) end rescue ActiveSupport::MessageVerifier::InvalidSignature, - ActiveSupport::MessageVerifier::InvalidMessage + ActiveSupport::MessageEncryptor::InvalidMessage nil end |