mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Do not force halt on authenticatable. This allows other strategies (like devise_imapable or even devise_facebook_connectable) to hook into sessions controller as well.
Those strategies should follow the same convention, allowing them to be cascated.
This commit is contained in:
parent
96c8238b02
commit
066c6e8771
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ module Devise
|
|||
if resource = mapping.to.authenticate(params[scope])
|
||||
success!(resource)
|
||||
else
|
||||
fail!(:invalid)
|
||||
fail(:invalid)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue