This commit is contained in:
Michael Bleigh 2010-10-12 10:08:59 -05:00
commit 93406af2b2
1 changed files with 20 additions and 20 deletions

View File

@ -19,7 +19,7 @@ module OmniAuth
:path_prefix => '/auth',
:on_failure => Proc.new do |env, message_key|
new_path = "#{OmniAuth.config.path_prefix}/failure?message=#{message_key}"
[302, {'Location' => "#{new_path}"}, []]
[302, {'Location' => "#{new_path}", 'Content-Type'=> 'text/html'}, []]
end,
:form_css => Form::DEFAULT_CSS
}