Skip to content

Commit

Permalink
fix: πŸ› Remove overly restrictive JWT secret length constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhumeisongsong committed Dec 3, 2024
1 parent 3b5bb7e commit ca08b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/shared/config/src/lib/auth.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { registerAs } from '@nestjs/config';
import { z } from 'zod';

const authSchema = z.object({
secret: z.string().min(1).max(22),
secret: z.string().min(1)
});

export type AuthConfig = z.infer<typeof authSchema>;
Expand Down

0 comments on commit ca08b71

Please sign in to comment.