diff --git a/dashboard/src/js/passwordreset.js b/dashboard/src/js/passwordreset.js index 586f7233f..67ebcd6fa 100644 --- a/dashboard/src/js/passwordreset.js +++ b/dashboard/src/js/passwordreset.js @@ -81,7 +81,8 @@ app.controller('PasswordResetController', ['$scope', '$translate', '$http', func identifier: $scope.passwordResetIdentifier }; - function done() { + function done(error) { + if (error) $scope.error = error.message; $scope.busy = false; $scope.mode = 'passwordResetDone'; } diff --git a/dashboard/src/passwordreset.html b/dashboard/src/passwordreset.html index fe268778e..e5a49b796 100644 --- a/dashboard/src/passwordreset.html +++ b/dashboard/src/passwordreset.html @@ -89,7 +89,8 @@