From 5f4bc7372dcf8ea5725b6848de44f90a471bcf99 Mon Sep 17 00:00:00 2001 From: AkashVarsani <99950157+AkashVarsani@users.noreply.github.com> Date: Tue, 28 Jan 2025 14:10:30 +0530 Subject: [PATCH] Update Dashboard.js if we are not disabling the email, then anyone can change other's razorpay credentials by using their email, as we used below code // in useractions.js : // await User.updateOne({email: ndata.email}, ndata) //Here user can use other person's email to replace their razorpay credentials with own credentials to get all payments in self account. --- Video 131/components/Dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Video 131/components/Dashboard.js b/Video 131/components/Dashboard.js index 84baa6a0..0279231b 100644 --- a/Video 131/components/Dashboard.js +++ b/Video 131/components/Dashboard.js @@ -80,7 +80,7 @@ const Dashboard = () => { {/* input for email */}
- +
{/* input forusername */}