show error when send email fails
This commit is contained in:
parent
e6cdef6a13
commit
be6811cb4a
5 changed files with 9 additions and 7 deletions
|
|
@ -117,6 +117,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue