Skip to content

Commit

Permalink
finalizing CSRF patch, bumping to 10.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Croak committed Apr 19, 2011
1 parent 7c5af12 commit c656d44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
0.10.5 (unreleased)
0.10.5
-------------------

* CSRF protection on Rails >= 3.0.4 apps (Mack Earnhardt)
* Closing CSRF hole for Rails >= 3.0.4 apps (Mack Earnhardt)

0.10.4
------------------
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.4
0.10.5
2 changes: 1 addition & 1 deletion lib/clearance/authentication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def deny_access(flash_message = nil)

# CSRF protection in Rails >= 3.0.4
# http://weblog.rubyonrails.org/2011/2/8/csrf-protection-bypass-in-ruby-on-rails
def reset_session
def handle_unverified_request
super
sign_out
end
Expand Down

0 comments on commit c656d44

Please sign in to comment.