mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Complete Security: Make sure the authentication flow display it if auth is not complete yet
The complete security flow can be unfortunately triggered from 2 places: AuthVC and MasterTabBarC. On a fresh app installation, during authentication, it was unexpectedly displayed from MasterTabBarC. This prevented authentication flow to complete. The app stayed on the launching animation. This commit fixes this race.
This commit is contained in:
@@ -1032,7 +1032,9 @@
|
||||
|
||||
- (void)presentVerifyCurrentSessionAlertIfNeededWithSession:(MXSession*)session
|
||||
{
|
||||
if (RiotSettings.shared.hideVerifyThisSessionAlert || self.reviewSessionAlertHasBeenDisplayed)
|
||||
if (RiotSettings.shared.hideVerifyThisSessionAlert
|
||||
|| self.reviewSessionAlertHasBeenDisplayed
|
||||
|| self.authenticationInProgress)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user