From 008ea22ccad09de40c83caf060ace8c55357e40b Mon Sep 17 00:00:00 2001 From: manuroe Date: Fri, 28 Dec 2018 09:19:14 +0100 Subject: [PATCH] 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. --- Riot/Modules/Authentication/Views/AuthInputsView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Riot/Modules/Authentication/Views/AuthInputsView.m b/Riot/Modules/Authentication/Views/AuthInputsView.m index 2848bea43..9aa81ff8f 100644 --- a/Riot/Modules/Authentication/Views/AuthInputsView.m +++ b/Riot/Modules/Authentication/Views/AuthInputsView.m @@ -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;