login: show error on password reset

This commit is contained in:
Girish Ramakrishnan
2024-01-13 21:52:30 +01:00
parent 01d33c45bd
commit ce0b66db7d
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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';
}