Skip to content

Commit

Permalink
Revert "Increase login max phone number length (zhukov#2059)"
Browse files Browse the repository at this point in the history
This reverts commit 6c8b847.
  • Loading branch information
bicatso authored Feb 3, 2021
1 parent 6c8b847 commit 9d40d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/js/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,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 > 25) {
if (fullPhone.length < 7 || fullPhone.length > 15) {
badPhone = true
}
}
Expand Down

0 comments on commit 9d40d5c

Please sign in to comment.