remove misc console.logs
This commit is contained in:
@ -482,9 +482,7 @@ profileValidation.directive('uniqueEmail', ['$http', function($http) {
|
|||||||
.success(function (exists) {
|
.success(function (exists) {
|
||||||
if (email === scope.storedEmail) {
|
if (email === scope.storedEmail) {
|
||||||
ngModel.$setValidity('unique', true);
|
ngModel.$setValidity('unique', true);
|
||||||
console.log('scoped.storedEmail', scoped.storedEmail);
|
|
||||||
} else if (exists.exists) {
|
} else if (exists.exists) {
|
||||||
console.log('setValid to false');
|
|
||||||
ngModel.$setValidity('unique', false);
|
ngModel.$setValidity('unique', false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user