mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 02:42:17 -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) {
|
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!';
|
||||||
|
Loading…
Reference in New Issue
Block a user