Better support for passing up errors when OmniAuth fails after auth

This commit is contained in:
Robin Ward
2015-06-24 12:12:43 -04:00
parent f18098fd9b
commit b4960d48b4
5 changed files with 56 additions and 34 deletions
@@ -13,7 +13,7 @@ describe "users/omniauth_callbacks/complete.html.erb" do
result = Auth::Result.new
result.user = User.new
assign(:data, result)
assign(:auth_result, result)
render
@@ -28,7 +28,7 @@ describe "users/omniauth_callbacks/complete.html.erb" do
result.email = "xxx@xxx.com"
result.authenticator_name = "CAS"
assign(:data, result)
assign(:auth_result, result)
render