diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-09-03 21:16:16 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-09-03 21:16:16 -0700 |
| commit | c8bae6ab79a32da0fe745ebb9401e14f86c1f0d8 (patch) | |
| tree | c5647d3b8d575abaf6952d3d5a1294564c8b4dca /backend/src/routes/auth.ts | |
| parent | d0d4f579f53e4a9e19b825dd5a1bf84c7d9f89e4 (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.ts | 1 |
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 } }); |
