mirror of
https://github.com/freedbygrace/DynamoDNS.git
synced 2026-07-26 11:38:13 +00:00
Update user registration to allow UUIDs for organization IDs
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/2985b293-927c-450e-8c26-9502fb837cab.jpg
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ export function setupAuth(app: Express) {
|
||||
password: z.string().min(8).max(100),
|
||||
email: z.string().email(),
|
||||
fullName: z.string().optional(),
|
||||
organizationId: z.number().optional()
|
||||
organizationId: z.string().uuid().optional()
|
||||
});
|
||||
|
||||
app.post("/api/register", async (req, res, next) => {
|
||||
|
||||
Reference in New Issue
Block a user