parent
591cbcfdf6
commit
b6c4d73463
@ -3082,13 +3082,13 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
|||||||
$modalInstance.close(true);
|
$modalInstance.close(true);
|
||||||
if ($scope.action == 'disable') {
|
if ($scope.action == 'disable') {
|
||||||
ErrorService.alert(
|
ErrorService.alert(
|
||||||
_('error_modal_password_disabled_title'),
|
_('error_modal_password_disabled_title_raw'),
|
||||||
_('error_modal_password_disabled_descripion')
|
_('error_modal_password_disabled_descripion_raw')
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
ErrorService.alert(
|
ErrorService.alert(
|
||||||
_('error_modal_password_success_title'),
|
_('error_modal_password_success_title_raw'),
|
||||||
_('error_modal_password_success_descripion')
|
_('error_modal_password_success_descripion_raw')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}, function (error) {
|
}, function (error) {
|
||||||
@ -3109,8 +3109,8 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
|||||||
break;
|
break;
|
||||||
case 'EMAIL_UNCONFIRMED':
|
case 'EMAIL_UNCONFIRMED':
|
||||||
ErrorService.alert(
|
ErrorService.alert(
|
||||||
_('error_modal_email_unconfirmed_title'),
|
_('error_modal_email_unconfirmed_title_raw'),
|
||||||
_('error_modal_email_unconfirmed_descripion')
|
_('error_modal_email_unconfirmed_descripion_raw')
|
||||||
);
|
);
|
||||||
$modalInstance.close(true);
|
$modalInstance.close(true);
|
||||||
error.handled = true;
|
error.handled = true;
|
||||||
@ -3155,8 +3155,8 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
|||||||
|
|
||||||
PasswordManager.recover($scope.recovery.code, $scope.options).then(function (result) {
|
PasswordManager.recover($scope.recovery.code, $scope.options).then(function (result) {
|
||||||
ErrorService.alert(
|
ErrorService.alert(
|
||||||
_('error_modal_password_disabled_title'),
|
_('error_modal_password_disabled_title_raw'),
|
||||||
_('error_modal_password_disabled_descripion')
|
_('error_modal_password_disabled_descripion_raw')
|
||||||
);
|
);
|
||||||
$modalInstance.close(result);
|
$modalInstance.close(result);
|
||||||
}, function (error) {
|
}, function (error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user