# File lib/devise/failure_app.rb, line 102 def http_auth_header? Devise.mappings[scope].to.http_authenticatable && !request.xhr? end