Skip to content

Commit 6c8b847

Browse files
authored
Increase login max phone number length (zhukov#2059)
* truncating filename without extension * try desktop suggestion * Increase login max phone number length
1 parent 3fd3fc9 commit 6c8b847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎app/js/controllers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ angular.module('myApp.controllers', ['myApp.i18n'])
189189
var badPhone = !fullPhone.match(/^[\d\-+\s]+$/)
190190
if (!badPhone) {
191191
fullPhone = fullPhone.replace(/\D/g, '')
192-
if (fullPhone.length < 7 || fullPhone.length > 15) {
192+
if (fullPhone.length < 7 || fullPhone.length > 25) {
193193
badPhone = true
194194
}
195195
}

0 commit comments

Comments
 (0)