show alert and globalize message

This commit is contained in:
MontejoJorge
2025-04-22 10:47:46 +02:00
parent 3eb26fb416
commit a505fb4d30
3 changed files with 15 additions and 1 deletions
@@ -45,7 +45,19 @@ export const ForgotPasswordPage = () => {
}
if (result.Action == 'PinCode') {
navigate('/forgotpasswordpin');
let msg = globalize.translate('MessageForgotPasswordFileCreated');
msg += '<br/><br/>';
msg += globalize.translate('MessageForgotPasswordPinReset');
msg += '<br/><br/>';
msg += result.PinFile;
msg += '<br/>';
Dashboard.alert({
message: msg,
title: globalize.translate('ButtonForgotPassword'),
callback: function () {
navigate('forgotpasswordpin');
}
});
}
}
});