mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 06:06:57 +02:00
Universal link + next link: Improved logout #2
This commit is contained in:
@@ -274,16 +274,11 @@
|
||||
{
|
||||
NSLog(@"[HomeViewController] Universal link: Logout current sessions and open AuthViewController to complete the registration in next_link");
|
||||
|
||||
// Logout out before opening the Authentication screen
|
||||
[[AppDelegate theDelegate] logout];
|
||||
|
||||
// Keep a ref on the params
|
||||
authViewControllerNextLinkParameters = nextLinkParameters;
|
||||
|
||||
[[AppDelegate theDelegate] restoreInitialDisplay:^{
|
||||
|
||||
[self performSegueWithIdentifier:@"showAuth" sender:self];
|
||||
|
||||
}];
|
||||
// And do a logout out. It will then display AuthViewController
|
||||
[[AppDelegate theDelegate] logout];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user