identity now emits!
This commit is contained in:
parent
57299d675e
commit
3ae6378678
33 changed files with 376 additions and 346 deletions
|
|
@ -10,7 +10,12 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
|||
$scope.error('Error', 'Please enter the required fields');
|
||||
return;
|
||||
}
|
||||
identityService.create($scope, form);
|
||||
identityService.create(
|
||||
form.email.$modelValue, form.password.$modelValue, function(err) {
|
||||
if (err) $scope.error('Error', err.toString());
|
||||
|
||||
$rootScope.$digest();
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue