aboutsummaryrefslogtreecommitdiffstats
path: root/backend/src/routes/auth.ts
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-09-03 21:16:16 -0700
committerPinapelz <yukais@pinapelz.com>2025-09-03 21:16:16 -0700
commitc8bae6ab79a32da0fe745ebb9401e14f86c1f0d8 (patch)
treec5647d3b8d575abaf6952d3d5a1294564c8b4dca /backend/src/routes/auth.ts
parentd0d4f579f53e4a9e19b825dd5a1bf84c7d9f89e4 (diff)
add admin role to user, return result in /me route
Diffstat (limited to 'backend/src/routes/auth.ts')
-rw-r--r--backend/src/routes/auth.ts1
1 files changed, 1 insertions, 0 deletions
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
}
});
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage