Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Increase login max phone number length (#2059)
Browse files Browse the repository at this point in the history
* truncating filename without extension

* try desktop suggestion

* Increase login max phone number length
  • Loading branch information
kolar authored Jan 28, 2021
1 parent 3fd3fc9 commit 6c8b847
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 > 15) {
if (fullPhone.length < 7 || fullPhone.length > 25) {
badPhone = true
}
}
Expand Down

0 comments on commit 6c8b847

Please sign in to comment.