From b5b9f367cabf786e63a6bb413e5e5a4b2d661743 Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Fri, 27 Dec 2013 20:01:52 -0300 Subject: [PATCH] Use different failure url to avoid infinite redirect loop --- lib/omniauth/strategies/browser_id.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/omniauth/strategies/browser_id.rb b/lib/omniauth/strategies/browser_id.rb index febd567..f7193ec 100644 --- a/lib/omniauth/strategies/browser_id.rb +++ b/lib/omniauth/strategies/browser_id.rb @@ -22,7 +22,7 @@ def other_phase end def failure_path - options[:failure_path] || "#{path_prefix}/failure" + options[:failure_path] || "#{path_prefix}/redirect_failure" end def request_phase