Merge pull request #2191 from isocolsky/send_error

Give feedback when email cannot be verified (as per Insight)
This commit is contained in:
Matias Alejo Garcia 2014-12-18 19:18:46 -03:00
commit f886e36481
5 changed files with 9 additions and 7 deletions

View file

@ -120,6 +120,10 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
msg = 'This profile already exists'
$scope.createStep = 'email';
}
if (msg.indexOf('EMAILERROR') >= 0) {
msg = 'Could not send verification email. Please check your email address.';
$scope.createStep = 'email';
}
$scope.error = msg;
} else {
// mobile