From 735dcef4f1fb397ba6a12af24af696b3702c59fe Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Wed, 21 Oct 2015 11:10:13 +0200 Subject: [PATCH 1/2] Wizard: fix account creation --- Classes/WizardViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/WizardViewController.m b/Classes/WizardViewController.m index e02ca09b8..22a2c58ae 100644 --- a/Classes/WizardViewController.m +++ b/Classes/WizardViewController.m @@ -780,14 +780,14 @@ static UICompositeViewDescription *compositeDescription = nil; NSInteger username_length = [[LinphoneManager instance] lpConfigIntForKey:@"username_length" forSection:@"wizard"]; NSInteger password_length = [[LinphoneManager instance] lpConfigIntForKey:@"password_length" forSection:@"wizard"]; - if ([username length] < username_length) { + if (username_length > (int)username.length) { [errors appendString:[NSString stringWithFormat:NSLocalizedString( @"The username is too short (minimum %d characters).", nil), username_length]]; [errors appendString:@"\n"]; } - if ([password length] < password_length) { + if (password_length > (int)password.length) { [errors appendString:[NSString stringWithFormat:NSLocalizedString( @"The password is too short (minimum %d characters).", nil), password_length]]; From 7523534d0e8a04c8a858f3418d733f0bc8991939 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Thu, 22 Oct 2015 17:10:13 +0200 Subject: [PATCH 2/2] submodules: update linphone --- submodules/linphone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/linphone b/submodules/linphone index c10bceadc..b65516c16 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit c10bceadcbe0ab668d07fbb539a435bf9e0ebebe +Subproject commit b65516c163831c43a5e7a73184a6fbc036e7931e