From 539947e95b04866ee9002de28c874fcc189e7c20 Mon Sep 17 00:00:00 2001 From: Mahendra Nimishakavi Date: Tue, 10 Dec 2019 10:38:37 +0530 Subject: [PATCH] returning nil instead of a request that was cancelled to fix the crash --- MASFoundation/Classes/models/MASBrowserBasedAuthentication.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MASFoundation/Classes/models/MASBrowserBasedAuthentication.m b/MASFoundation/Classes/models/MASBrowserBasedAuthentication.m index 8a9b792b..b63efe76 100644 --- a/MASFoundation/Classes/models/MASBrowserBasedAuthentication.m +++ b/MASFoundation/Classes/models/MASBrowserBasedAuthentication.m @@ -197,7 +197,7 @@ - (MASSessionDataTaskHTTPRedirectBlock)getRedirectionBlock blockSelf.webLoginCallBack(nil, YES, nil); } } - return request; + return nil; }; return redirectionBlock;