diff --git a/src/app/accounts/accountsLoginController.js b/src/app/accounts/accountsLoginController.js index 7402be22c3..62e03187ab 100644 --- a/src/app/accounts/accountsLoginController.js +++ b/src/app/accounts/accountsLoginController.js @@ -124,7 +124,7 @@ angular masterPasswordHash: hash }, function () { if (doToast) { - toastr.success('Verification email sent.'); + toastr.success('Verification email sent to ' + $scope.twoFactorEmail + '.'); } }, function () { toastr.error('Could not send verification email.'); @@ -160,6 +160,8 @@ angular initU2f(challenges); } else if ($scope.twoFactorProvider === constants.twoFactorProvider.email) { + var params = $scope.twoFactorProviders[constants.twoFactorProvider.email]; + $scope.twoFactorEmail = params.Email; if (Object.keys($scope.twoFactorProviders).length > 1) { $scope.sendEmail(false); } diff --git a/src/app/accounts/views/accountsLoginTwoFactor.html b/src/app/accounts/views/accountsLoginTwoFactor.html index 0911f90add..98b1c0a1f2 100644 --- a/src/app/accounts/views/accountsLoginTwoFactor.html +++ b/src/app/accounts/views/accountsLoginTwoFactor.html @@ -5,7 +5,7 @@

- Enter the 6 digit verification code that was just now emailed to you. + Enter the 6 digit verification code that was emailed to {{twoFactorEmail}}.

Didn't get the email?