mirror of
https://github.com/moparisthebest/mail
synced 2024-12-23 15:58:49 -05:00
Strip spaces from phone number
This commit is contained in:
parent
1311cd1c5e
commit
513d29ad79
@ -29,7 +29,7 @@ define(function(require) {
|
||||
appCtrl._adminDao.createUser({
|
||||
emailAddress: $scope.emailAddress,
|
||||
password: $scope.pass,
|
||||
phone: $scope.phone,
|
||||
phone: $scope.phone.replace(/\s+/g, ''), // remove spaces from the phone number
|
||||
betaCode: $scope.betaCode.toUpperCase()
|
||||
}, function(err) {
|
||||
$scope.busy = false;
|
||||
|
Loading…
Reference in New Issue
Block a user