From c8e0cd05cf12aea709e3061c342540913df8d9a4 Mon Sep 17 00:00:00 2001 From: CMK Date: Thu, 24 Jun 2021 12:08:57 +0800 Subject: [PATCH] fix: authentication session force to ephemeral cause login session in Safari not using issue. resolve #178 --- .../PickServer/MastodonPickServerViewController.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Mastodon/Scene/Onboarding/PickServer/MastodonPickServerViewController.swift b/Mastodon/Scene/Onboarding/PickServer/MastodonPickServerViewController.swift index 46c5e234d..012f173d9 100644 --- a/Mastodon/Scene/Onboarding/PickServer/MastodonPickServerViewController.swift +++ b/Mastodon/Scene/Onboarding/PickServer/MastodonPickServerViewController.swift @@ -44,7 +44,6 @@ final class MastodonPickServerViewController: UIViewController, NeedsDependency tableView.backgroundColor = .clear tableView.keyboardDismissMode = .onDrag tableView.translatesAutoresizingMaskIntoConstraints = false - return tableView }() @@ -319,7 +318,6 @@ extension MastodonPickServerViewController { ) self.mastodonAuthenticationController = authenticationController - authenticationController.authenticationSession?.prefersEphemeralWebBrowserSession = true authenticationController.authenticationSession?.presentationContextProvider = self authenticationController.authenticationSession?.start()