mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Better support for passing up errors when OmniAuth fails after auth
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user