Release 2.1.1

This commit is contained in:
José Valim 2012-06-16 15:50:13 +02:00
parent 4f07ed42e3
commit ba2e44c6a4
3 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,9 @@
== 2.1.1
Notes: https://github.com/plataformatec/devise/wiki/How-to:-upgrade-to-devise-2.1
* enhancements
* `sign_out_all_scopes` now locks warden and does not allow new logins in the same action
* `Devise.omniauth_path_prefix` is available to configure omniauth path prefix
* Redirect to sign in page when trying to access password#edit without a token (by @gbataille)
* Allow a lambda in authenticate(d) routes helpers to further select the scope
@ -14,8 +19,6 @@
== 2.1.0
Notes: https://github.com/plataformatec/devise/wiki/How-to:-upgrade-to-devise-2.1
* enhancements
* Add `check_fields!(model_class)` method on Devise::Models to check if the model includes the fields that Devise uses
* Add `skip_reconfirmation!` to skip reconfirmation

View File

@ -1,3 +1,3 @@
module Devise
VERSION = "2.1.0".freeze
VERSION = "2.1.1".freeze
end

View File

@ -184,9 +184,8 @@ Devise.setup do |config|
# devise role declared in your routes (usually :user).
# config.default_scope = :user
# Configure sign_out behavior.
# Sign_out action can be scoped (i.e. /users/sign_out affects only :user scope).
# The default is true, which means any logout action will sign out all active scopes.
# Set this configuration to false if you want /users/sign_out to sign out
# only the current scope. By default, Devise signs out all scopes.
# config.sign_out_all_scopes = true
# ==> Navigation configuration