opening the safari web view externally so that it will be able to share the cookies

This commit is contained in:
Mauro Romito
2023-08-25 13:02:06 +02:00
parent 489d65d912
commit 9e50bc89ba
2 changed files with 2 additions and 3 deletions
@@ -3922,8 +3922,7 @@ ChangePasswordCoordinatorBridgePresenterDelegate>
{
NSURL *url = [NSURL URLWithString: self.mainSession.homeserverWellknown.authentication.account];
if (url) {
SFSafariViewController *accountVC = [[SFSafariViewController alloc] initWithURL: url];
[self presentViewController:accountVC animated:YES completion:nil];
[UIApplication.sharedApplication openURL:url options:@{} completionHandler:nil];
}
}