1
0
Fork 0
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:
José Valim 2010-03-28 12:52:05 +02:00
parent 96c8238b02
commit 066c6e8771

View file

@ -16,7 +16,7 @@ module Devise
if resource = mapping.to.authenticate(params[scope])
success!(resource)
else
fail!(:invalid)
fail(:invalid)
end
end