Better messaging when changing email address

Fixes #1695
This commit is contained in:
Joseph Schorr 2016-08-16 13:13:52 -04:00
parent de9be6e993
commit 236cdc795f
2 changed files with 8 additions and 2 deletions

View file

@ -121,6 +121,7 @@
var errorDisplay = ApiService.errorDisplay('Could not change email address', callback);
ApiService.changeUserDetails(details).then(function() {
$scope.context.emailAwaitingChange = $scope.changeEmailInfo.email;
callback(true);
}, errorDisplay);
};