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

@@ -144,5 +144,17 @@ export default {
duration: 60,
blockDuration: 60 * 10,
}
},
/**
* Users registeration configuration.
*/
registration: {
countries: {
whitelist: [
'LY',
],
blacklist: [],
}
}
};