mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Merge pull request #2142 from vector-im/riot_2140
BF: Registration: email or phone number is no more skippable
This commit is contained in:
commit
09df3b8c43
1 changed files with 1 additions and 1 deletions
|
@ -966,7 +966,7 @@
|
|||
for (MXLoginFlow *loginFlow in currentSession.flows)
|
||||
{
|
||||
if ([loginFlow.stages indexOfObject:kMXLoginFlowTypeEmailIdentity] == NSNotFound
|
||||
&& [loginFlow.stages indexOfObject:kMXLoginFlowTypeEmailCode] == NSNotFound)
|
||||
&& [loginFlow.stages indexOfObject:kMXLoginFlowTypeMSISDN] == NSNotFound)
|
||||
{
|
||||
// There is a flow with no 3pids
|
||||
return NO;
|
||||
|
|
Loading…
Reference in a new issue