mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 19:10:49 +02:00
Registration: Fix infinite loop when register with email and validate from mobile.
This commit is contained in:
@@ -814,8 +814,24 @@
|
||||
else if ([self isFlowSupported:kMXLoginFlowTypeTerms] && ![self isFlowCompleted:kMXLoginFlowTypeTerms])
|
||||
{
|
||||
NSLog(@"[AuthInputsView] Prepare a new terms stage");
|
||||
|
||||
[self prepareParameters:callback];
|
||||
|
||||
if (externalRegistrationParameters)
|
||||
{
|
||||
[self displayTermsView:^{
|
||||
|
||||
NSDictionary *parameters = @{
|
||||
@"auth": @{
|
||||
@"session":self->currentSession.session,
|
||||
@"type": kMXLoginFlowTypeTerms
|
||||
}
|
||||
};
|
||||
callback(parameters, nil);
|
||||
}];
|
||||
}
|
||||
else
|
||||
{
|
||||
[self prepareParameters:callback];
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user