From c8bae6ab79a32da0fe745ebb9401e14f86c1f0d8 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 3 Sep 2025 21:16:16 -0700 Subject: add admin role to user, return result in /me route --- backend/src/routes/auth.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/src/routes/auth.ts') diff --git a/backend/src/routes/auth.ts b/backend/src/routes/auth.ts index 4c6c374..f857dea 100644 --- a/backend/src/routes/auth.ts +++ b/backend/src/routes/auth.ts @@ -34,6 +34,7 @@ export const handleRegistration = async (req: express.Request, res: express.Resp password: hashedPassword, salt, email, + isAdmin: false } }); -- cgit v1.2.3