Permalink
Browse files

Release 2.1.1

  • Loading branch information...
josevalim committed Jun 16, 2012
1 parent 4f07ed4 commit ba2e44c6a4ede1df1dc020618d640e0ddf809ebf
Showing with 8 additions and 6 deletions.
  1. +5 −2 CHANGELOG.rdoc
  2. +1 −1 lib/devise/version.rb
  3. +2 −3 lib/generators/templates/devise.rb
View
@@ -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
@@ -1,3 +1,3 @@
module Devise
- VERSION = "2.1.0".freeze
+ VERSION = "2.1.1".freeze
end
@@ -184,9 +184,8 @@
# 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

0 comments on commit ba2e44c

Please sign in to comment.