Merge pull request #2142 from vector-im/riot_2140

BF: Registration: email or phone number is no more skippable
This commit is contained in:
manuroe 2018-12-28 09:27:21 +01:00 committed by GitHub
commit 09df3b8c43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;