mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Tidy up.
This commit is contained in:
parent
4a8f9a9ba8
commit
6f205fe4c4
2 changed files with 3 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
||||||
* Sign up now check if the user is active or not and redirect him accordingly setting the inactive_signed_up message
|
* Sign up now check if the user is active or not and redirect him accordingly setting the inactive_signed_up message
|
||||||
* Use ActiveModel#to_key instead of #id
|
* Use ActiveModel#to_key instead of #id
|
||||||
* sign_out_all_scopes now destroys the whole session
|
* sign_out_all_scopes now destroys the whole session
|
||||||
* Added insensitive_case_keys that automatically downcases the given keys. By default downcases only e-mail.
|
* Added insensitive_case_keys that automatically downcases the given keys, by default downcases only e-mail (by github.com/adahl)
|
||||||
|
|
||||||
* default behavior changes
|
* default behavior changes
|
||||||
* sign_out_all_scopes defaults to true as security measure
|
* sign_out_all_scopes defaults to true as security measure
|
||||||
|
@ -32,6 +32,7 @@
|
||||||
* FailureApp now properly handles nil request.format
|
* FailureApp now properly handles nil request.format
|
||||||
* Fix a bug causing FailureApp to return with HTTP Auth Headers for IE7
|
* Fix a bug causing FailureApp to return with HTTP Auth Headers for IE7
|
||||||
* Ensure namespaces has proper scoped views
|
* Ensure namespaces has proper scoped views
|
||||||
|
* Ensure Devise does not set empty flash messages (by github.com/sxross)
|
||||||
|
|
||||||
== 1.1.3
|
== 1.1.3
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ module Devise
|
||||||
options[:default] = Array(options[:default]).unshift(kind.to_sym)
|
options[:default] = Array(options[:default]).unshift(kind.to_sym)
|
||||||
options[:resource_name] = resource_name
|
options[:resource_name] = resource_name
|
||||||
message = I18n.t("#{resource_name}.#{kind}", options)
|
message = I18n.t("#{resource_name}.#{kind}", options)
|
||||||
flash[key] = message.blank? ? nil : message
|
flash[key] = message if message.present?
|
||||||
end
|
end
|
||||||
|
|
||||||
def clean_up_passwords(object) #:nodoc:
|
def clean_up_passwords(object) #:nodoc:
|
||||||
|
|
Loading…
Reference in a new issue