Merge pull request #180 from tootsuite/fix/auth-ephemeral

Fix authentication session not using exist Safari token issue
This commit is contained in:
CMK 2021-06-29 18:09:26 +08:00 committed by GitHub
commit 65a8307f50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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()