mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Cast the result of deperecated sanitization calls to a HWIA as well.
This commit is contained in:
parent
8d57a54b2d
commit
6431445846
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ module Devise
|
|||
# DEPRECATED: Remove this branch on Devise 4.1.
|
||||
if respond_to?(action, true)
|
||||
deprecate_instance_method_sanitization(action)
|
||||
return send(action)
|
||||
return cast_to_hash send(action)
|
||||
end
|
||||
|
||||
if permissions.respond_to?(:call)
|
||||
|
|
Loading…
Reference in a new issue