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:
parent
4f07ed42e3
commit
ba2e44c6a4
3 changed files with 8 additions and 6 deletions
|
@ -1,4 +1,9 @@
|
||||||
|
== 2.1.1
|
||||||
|
|
||||||
|
Notes: https://github.com/plataformatec/devise/wiki/How-to:-upgrade-to-devise-2.1
|
||||||
|
|
||||||
* enhancements
|
* 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
|
* `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)
|
* 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
|
* Allow a lambda in authenticate(d) routes helpers to further select the scope
|
||||||
|
@ -14,8 +19,6 @@
|
||||||
|
|
||||||
== 2.1.0
|
== 2.1.0
|
||||||
|
|
||||||
Notes: https://github.com/plataformatec/devise/wiki/How-to:-upgrade-to-devise-2.1
|
|
||||||
|
|
||||||
* enhancements
|
* enhancements
|
||||||
* Add `check_fields!(model_class)` method on Devise::Models to check if the model includes the fields that Devise uses
|
* 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
|
* Add `skip_reconfirmation!` to skip reconfirmation
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module Devise
|
module Devise
|
||||||
VERSION = "2.1.0".freeze
|
VERSION = "2.1.1".freeze
|
||||||
end
|
end
|
||||||
|
|
|
@ -184,9 +184,8 @@ Devise.setup do |config|
|
||||||
# devise role declared in your routes (usually :user).
|
# devise role declared in your routes (usually :user).
|
||||||
# config.default_scope = :user
|
# config.default_scope = :user
|
||||||
|
|
||||||
# Configure sign_out behavior.
|
# Set this configuration to false if you want /users/sign_out to sign out
|
||||||
# Sign_out action can be scoped (i.e. /users/sign_out affects only :user scope).
|
# only the current scope. By default, Devise signs out all scopes.
|
||||||
# The default is true, which means any logout action will sign out all active scopes.
|
|
||||||
# config.sign_out_all_scopes = true
|
# config.sign_out_all_scopes = true
|
||||||
|
|
||||||
# ==> Navigation configuration
|
# ==> Navigation configuration
|
||||||
|
|
Loading…
Reference in a new issue