Commit d68f840
committed
fix: restore auth collection skip in Zod validation
Reverted shouldSkipCollection to skip auth collections (users, _superusers).
Confirmed via trace ID system that 'Invalid module' error on setup/complete
originates from PocketBase internal auth module, not from Zod validation.
Auth collection skip prevents Goja from crashing on hidden auth fields.
Trace ID system verified working:
- HTTP response: X-Trace-Id header + traceId in body
- Docker log: [trace=xxx] setup/complete: CreateFirstAdmin failed: <full error>
- One grep with trace ID locates the complete error chain1 parent 6fec52a commit d68f840
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | | - | |
244 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments