Commit Graph

5 Commits

Author SHA1 Message Date
Jordan Owens 4f1bdba0c5 Make authenticity token length a fixed value of 32
Rack::Protection::AuthenticityToken.token(session) can now make sure that
an authenticity token is set in the session before returning a masked
version of the token. Any Rack app that shares the session can use this
method when building a form for an app that uses rack-protection.

Removes references to Rails compatibility as rack-protection 2.0
officially breaks that promise.
2016-09-20 11:43:22 -04:00
Konstantin Haase 7a452035e9 remove "not yet implemented" comments if not true 2011-06-19 14:54:29 +02:00
Konstantin Haase 3588ba5d33 move stuff around, add remote_token protection 2011-05-29 12:10:15 +02:00
Konstantin Haase d92302670f add docs to all middleware 2011-05-24 13:23:57 +02:00
Konstantin Haase 0985552f33 initial commit 2011-05-23 10:07:54 +02:00