From 57441bab771bd14261fae6ae8762ee4748c697fe Mon Sep 17 00:00:00 2001 From: manhmanh1 <71432670+manhmanh1@users.noreply.github.com> Date: Thu, 17 Sep 2020 16:47:21 +0700 Subject: [PATCH] Revert "Limit login max phone number length (#1957)" This reverts commit 13513f6a31cadc0836e1bed8391349d69403187f. --- app/js/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/controllers.js b/app/js/controllers.js index 194cfa583..6309f586a 100644 --- a/app/js/controllers.js +++ b/app/js/controllers.js @@ -177,7 +177,7 @@ angular.module('myApp.controllers', ['myApp.i18n']) var badPhone = !fullPhone.match(/^[\d\-+\s]+$/) if (!badPhone) { fullPhone = fullPhone.replace(/\D/g, '') - if (fullPhone.length < 7 || fullPhone.length > 15) { + if (fullPhone.length < 7) { badPhone = true } }