Merge branch 'fail' of http://github.com/samsm/omniauth
This commit is contained in:
commit
93406af2b2
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue