Skip to content

Commit

Permalink
Release v3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
José Valim committed Nov 13, 2013
1 parent 95ec62e commit 3b598ec
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
### 3.2.1

Security announcement: http://blog.plataformatec.com.br/2013/11/e-mail-enumeration-in-devise-in-paranoid-mode

* enhancements
* Add `store_location_for` helper and ensure it is safe (by @matthewrudy and @homakov)
* Add `yield` around resource methods in Devise controllers (by @edelpero)

* bug fix
* Bring `password_digest` back to fix compatibility with `devise-encryptable`
* Avoid e-mail enumeration on sign in when in paranoid mode

### 3.2.0

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GIT
PATH
remote: .
specs:
devise (3.2.0)
devise (3.2.1)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/Gemfile.rails-3.2.x.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
devise (3.2.0)
devise (3.2.1)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
Expand Down
2 changes: 1 addition & 1 deletion lib/devise/controllers/store_location.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def stored_location_for(resource_or_scope)
#
def store_location_for(resource_or_scope, location)
session_key = stored_location_key_for(resource_or_scope)
session[session_key] = URI.parse(location).path
session[session_key] = URI.parse(location).path if location
end

private
Expand Down
2 changes: 1 addition & 1 deletion lib/devise/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Devise
VERSION = "3.2.0".freeze
VERSION = "3.2.1".freeze
end

0 comments on commit 3b598ec

Please sign in to comment.