1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-29 12:22:22 -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) { var ValidatePhoneCtrl = function($scope, $location, $routeParams, mailConfig, auth, admin) {
!$routeParams.dev && !auth.isInitialized() && $location.path('/'); // init app !$routeParams.dev && !auth.isInitialized() && $location.path('/'); // init app
// TODO: move to Account service create function
$scope.validateUser = function() { $scope.validateUser = function() {
if ($scope.form.$invalid) { if ($scope.form.$invalid) {
$scope.errMsg = 'Please fill out all required fields!'; $scope.errMsg = 'Please fill out all required fields!';