From 664dfc588aece0bb24d01f19158f10d907b6e28a Mon Sep 17 00:00:00 2001 From: Stefan Arentz Date: Tue, 14 Jul 2015 15:48:12 -0400 Subject: [PATCH] Fixes 1182200 - Canceled authentication doesn't send result to page --- Client/Frontend/Browser/BrowserViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/Frontend/Browser/BrowserViewController.swift b/Client/Frontend/Browser/BrowserViewController.swift index f31e9f9f83db..486eb555f6e3 100644 --- a/Client/Frontend/Browser/BrowserViewController.swift +++ b/Client/Frontend/Browser/BrowserViewController.swift @@ -1359,7 +1359,7 @@ extension BrowserViewController: WKNavigationDelegate { if let credentials = res.successValue { completionHandler(.UseCredential, credentials.credentials) } else { - completionHandler(NSURLSessionAuthChallengeDisposition.CancelAuthenticationChallenge, nil) + completionHandler(NSURLSessionAuthChallengeDisposition.RejectProtectionSpace, nil) } } }