mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
BF: Registration: email or phone number is no more skippable
#2140 Note: There is no more conditions linked to kMXLoginFlowTypeRecaptcha in the code, which makes it look more flexible.
This commit is contained in:
parent
bf418edf03
commit
8f9af0ea1f
1 changed files with 1 additions and 1 deletions
|
@ -966,7 +966,7 @@
|
||||||
for (MXLoginFlow *loginFlow in currentSession.flows)
|
for (MXLoginFlow *loginFlow in currentSession.flows)
|
||||||
{
|
{
|
||||||
if ([loginFlow.stages indexOfObject:kMXLoginFlowTypeEmailIdentity] == NSNotFound
|
if ([loginFlow.stages indexOfObject:kMXLoginFlowTypeEmailIdentity] == NSNotFound
|
||||||
&& [loginFlow.stages indexOfObject:kMXLoginFlowTypeEmailCode] == NSNotFound)
|
&& [loginFlow.stages indexOfObject:kMXLoginFlowTypeMSISDN] == NSNotFound)
|
||||||
{
|
{
|
||||||
// There is a flow with no 3pids
|
// There is a flow with no 3pids
|
||||||
return NO;
|
return NO;
|
||||||
|
|
Loading…
Reference in a new issue