Skip to content

Commit 2878ecb

Browse files
committed
Mark default user schema optional for when logged out
1 parent 27c3f9b commit 2878ecb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/utils/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const claudeOAuthSchema = z
3636

3737
const credentialsSchema = z
3838
.object({
39-
default: userSchema,
39+
default: userSchema.optional(),
4040
claudeOAuth: claudeOAuthSchema,
4141
})
4242
.catchall(z.unknown())

0 commit comments

Comments
 (0)