feat: validate country code and phone number in user registration.

This commit is contained in:
a.bouhuolia
2020-12-16 15:37:12 +02:00
parent ddf31feb72
commit 17a38eafd1
3 changed files with 92 additions and 6 deletions

View File

@@ -27,6 +27,7 @@
"bookshelf-modelbase": "^2.10.4",
"bookshelf-paranoia": "^0.13.1",
"compression": "^1.7.4",
"country-codes-list": "^1.6.8",
"crypto-random-string": "^3.2.0",
"csurf": "^1.10.0",
"deep-map": "^2.0.0",
@@ -48,6 +49,7 @@
"knex": "^0.20.3",
"knex-cleaner": "^1.3.0",
"knex-db-manager": "^0.6.1",
"libphonenumber-js": "^1.9.6",
"lodash": "^4.17.15",
"memory-cache": "^0.2.0",
"moment": "^2.24.0",