mirror of
https://github.com/moparisthebest/mail
synced 2024-11-25 18:32:20 -05:00
remove todo in validate-phone.js
This commit is contained in:
parent
bd13a993a2
commit
fb21de8035
@ -3,8 +3,6 @@
|
||||
var ValidatePhoneCtrl = function($scope, $location, $routeParams, mailConfig, auth, admin) {
|
||||
!$routeParams.dev && !auth.isInitialized() && $location.path('/'); // init app
|
||||
|
||||
// TODO: move to Account service create function
|
||||
|
||||
$scope.validateUser = function() {
|
||||
if ($scope.form.$invalid) {
|
||||
$scope.errMsg = 'Please fill out all required fields!';
|
||||
@ -62,4 +60,4 @@ var ValidatePhoneCtrl = function($scope, $location, $routeParams, mailConfig, au
|
||||
};
|
||||
};
|
||||
|
||||
module.exports = ValidatePhoneCtrl;
|
||||
module.exports = ValidatePhoneCtrl;
|
||||
|
Loading…
Reference in New Issue
Block a user