mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Release v3.2.1
This commit is contained in:
parent
95ec62ea76
commit
3b598ec235
5 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -33,7 +33,7 @@ module Devise
|
|||
#
|
||||
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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module Devise
|
||||
VERSION = "3.2.0".freeze
|
||||
VERSION = "3.2.1".freeze
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue