1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

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