…t when we allow auth from params.
This time with tests
…reuse the request_format logic from FailureApp.
…al formats such as JSON and XML Signed-off-by: José Valim <firstname.lastname@example.org>
This will make Devise::SessionsController return the authenticated object in the requested format instead of redirect the client to another page upon success authentication.
…as moved to a middleware in Rails 3.
…. Whenever Warden is invoked with a :recall, the failure app will recall the chosen controller and the action given to recall.
We need to be sure require_no_authentication runs before other user filters that may call some Devise helper (ie current_xxx). Conflicts: app/controllers/devise/passwords_controller.rb app/controllers/devise/registrations_controller.rb app/controllers/devise/sessions_controller.rb app/controllers/devise/unlocks_controller.rb lib/devise/controllers/internal_helpers.rb test/rails_app/app/controllers/application_controller.rb