1
0
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:
Felix Hammerl 2014-11-27 15:59:32 +01:00
parent bd13a993a2
commit fb21de8035

View File

@ -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;