From 18007f767ce85c946da3856d46da62f391707e3f Mon Sep 17 00:00:00 2001 From: julia-weppler-1 <156942916+julia-weppler-1@users.noreply.github.com> Date: Sun, 19 Jul 2026 21:20:13 -0400 Subject: [PATCH] Add comment about username check in registration route Added a comment praising the username check implementation. --- server/routes/auth.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/routes/auth.js b/server/routes/auth.js index ef355b6..03ae699 100644 --- a/server/routes/auth.js +++ b/server/routes/auth.js @@ -14,6 +14,7 @@ import { usersDb } from "../db/usersDb.js"; const router = express.Router(); // REGISTER a new user, then log them in automatically +// I really like how you checked existing usernames before adding, my team forgot to do that! router.post("/register", async (req, res) => { try { // extract required fields from request body