Skip to content

Commit

Permalink
comments fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansh101112 authored Jun 13, 2024
1 parent 81c4247 commit 6bbbb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ app.post("/login", async (req, res) => {
}

// Admin bypass check
const adminEmail = process.env.ADMINMAIL; // Replace with your admin email
const adminEmail = process.env.ADMINMAIL;
if (email === adminEmail) {
user.role = 1;
await user.save();
Expand Down

0 comments on commit 6bbbb9f

Please sign in to comment.