fix : DAST security issue.

This commit is contained in:
2025-10-27 16:30:10 +05:30
parent 7ba258dc21
commit 8bf603544f
5 changed files with 63 additions and 22 deletions

View File

@@ -286,20 +286,14 @@ export default function QuickPay() {
message: "Transaction successful",
color: "green",
});
setShowTxnPassword(false);
setTxnPassword("");
setShowOtpField(false);
setOtp("");
setValidationStatus(null);
setBeneficiaryName(null);
setTimerActive(false);
setCountdown(180);
return;
} else {
notifications.show({
title: "Error",
message: result?.error || "Transaction failed",
color: "red",
});
return;
}
} catch {
notifications.show({
@@ -314,6 +308,8 @@ export default function QuickPay() {
setBeneficiaryName('');
setConfirmBeneficiaryAcc('');
setBeneficiaryType(null);
setTxnPassword("");
setOtp("");
setAmount('');
setRemarks('');
setIsVisibilityLocked(false);